Trading

Cancel Order

delete

Cancel order

Authorizations
Path parameters
orderIdstring · uuidRequired
Header parameters
Requestor-IDstring · uuidRequired

Unique requestor identification in UUID format

Responses
202
Accepted
delete
DELETE /trading/order/{orderId} HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Accept: */*

No content

Update Order

patch

Update Order

Authorizations
Path parameters
orderIdstring · uuidRequired
Header parameters
Requestor-IDstring · uuidRequired

Unique requestor identification in UUID format

Body
quantityTypestring · enumOptionalPossible values:
quantitynumberOptional

Number of shares or order amount

currencystring · enumOptional

Currency of the product's balance. Currency code in ISO 4217

Possible values:
orderTypestring · enumOptionalPossible values:
limitPricenumberOptional

The limit price for orders of the type 'limit'.

stopPricenumberOptional

The stop price for orders of the type 'stop'.

expiryDatestring · dateOptional

The order expiration date (last day the order can trade) in the YYYY-MM-DD format. Default value is T+1 year.

Responses
202
Accepted
patch
PATCH /trading/order/{orderId} HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 128

{
  "quantityType": "UNIT",
  "quantity": 1,
  "currency": "EUR",
  "orderType": "LIMIT",
  "limitPrice": 1,
  "stopPrice": 1,
  "expiryDate": "2025-07-10"
}

No content

Create Market Order

post

Create a single security market order

Authorizations
Header parameters
Requestor-IDstring · uuidRequired

Unique requestor identification in UUID format

Body
depositoryCustomerProductIdstring · uuidRequired

The identifier of the depository customer product instance

cashCustomerProductIdstring · uuidRequired

Cash customer product used for the order.

tradeSideundefined · enumRequiredPossible values:
quantityTypestring · enumRequiredPossible values:
exchangeCodestring · enumRequiredPossible values:
isinstring · min: 12 · max: 12Required

ISIN of the asset

Example: US38259P5089Pattern: ^[A-Z]{2}[A-Z0-9]{10}$
quantitynumberRequired

Number of shares

externalIdstringRequired

Order id in partner's system. This value has to be unique.

Responses
200
OK
application/json
post
POST /trading/order/market HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 250

{
  "depositoryCustomerProductId": "123e4567-e89b-12d3-a456-426614174000",
  "cashCustomerProductId": "123e4567-e89b-12d3-a456-426614174000",
  "tradeSide": "BUY",
  "quantityType": "UNIT",
  "exchangeCode": "TGAT",
  "isin": "US38259P5089",
  "quantity": 1,
  "externalId": "text"
}

No content

Create Limit Order

post

Create a single security limit order

Authorizations
Header parameters
Requestor-IDstring · uuidRequired

Unique requestor identification in UUID format

Body
depositoryCustomerProductIdstring · uuidRequired

The identifier of the depository customer product instance

cashCustomerProductIdstring · uuidRequired

Cash customer product used for the order.

tradeSideundefined · enumRequiredPossible values:
quantityTypestring · enumRequiredPossible values:
exchangeCodestring · enumRequiredPossible values:
isinstring · min: 12 · max: 12Required

ISIN of the asset

Example: US38259P5089Pattern: ^[A-Z]{2}[A-Z0-9]{10}$
quantitynumberRequired

Number of shares

limitPricenumberRequired

The limit price for orders of the type 'limit'.

expiryDatestring · dateRequired

'The order expiration date (last day the order can trade) in the YYYY-MM-DD format. Default value is T+1 year'

externalIdstringRequired

Order id in partner's system. This value has to be unique.

Responses
200
OK
application/json
post
POST /trading/order/limit HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 291

{
  "depositoryCustomerProductId": "123e4567-e89b-12d3-a456-426614174000",
  "cashCustomerProductId": "123e4567-e89b-12d3-a456-426614174000",
  "tradeSide": "BUY",
  "quantityType": "UNIT",
  "exchangeCode": "TGAT",
  "isin": "US38259P5089",
  "quantity": 1,
  "limitPrice": 1,
  "expiryDate": "2025-07-10",
  "externalId": "text"
}

No content

Create Stop Order

post

Create a single security stop order

Authorizations
Header parameters
Requestor-IDstring · uuidRequired

Unique requestor identification in UUID format

Body
depositoryCustomerProductIdstring · uuidRequired

The identifier of the depository customer product instance

cashCustomerProductIdstring · uuidRequired

Cash customer product used for the order.

tradeSideundefined · enumRequiredPossible values:
quantityTypestring · enumRequiredPossible values:
exchangeCodestring · enumRequiredPossible values:
isinstring · min: 12 · max: 12Required

ISIN of the asset

Example: US38259P5089Pattern: ^[A-Z]{2}[A-Z0-9]{10}$
quantitynumberRequired

Number of shares

stopPricenumberRequired

The stop price for orders of the type 'stop'.

expiryDatestring · dateRequired

'The order expiration date (last day the order can trade) in the YYYY-MM-DD format. Default value is T+1 year'

externalIdstringRequired

Order id in partner's system. This value has to be unique.

Responses
200
OK
application/json
post
POST /trading/order/stop HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 290

{
  "depositoryCustomerProductId": "123e4567-e89b-12d3-a456-426614174000",
  "cashCustomerProductId": "123e4567-e89b-12d3-a456-426614174000",
  "tradeSide": "BUY",
  "quantityType": "UNIT",
  "exchangeCode": "TGAT",
  "isin": "US38259P5089",
  "quantity": 1,
  "stopPrice": 1,
  "expiryDate": "2025-07-10",
  "externalId": "text"
}

No content

Last updated