v22

latestOpenAPI 3.0.0raw.githubusercontent.com2026-03-03327794.1 KB
Trades

Get trade

Get trade a trade by its unique trade ID.

get/accounts/{account_id}/trades/{trade_id}

Path parameters

account_idstring required

Account ID for the account.

Example:100000
trade_idstring required

Unique trade ID assigned by us.

Example:12390213

Response

Successful response

created_atinteger required

Milliseconds since epoch.

account_idstring

Account ID for the account.

account_numberstring

Account number for the account.

trade_idstring required

Unique trade ID assigned by us.

order_idstring required

Unique order ID assigned by us.

symbolstring
side'buy' | 'sell' | 'sell-short' required

Buy, sell, sell-short indicator.

quantitystring required

String representation of quantity.

pricestring required

String representation of a price.

running_positionstring required

String representation of quantity.

Example response

{
  "account_id": "100000",
  "account_number": "ACC0001",
  "trade_id": "12390213",
  "order_id": "12390213",
  "symbol": "AAPL",
  "quantity": "100",
  "price": "123.99",
  "running_position": "100"
}