Skip to main content

TradeHistoryResp

serialIdint64

Monotonic sequence identifier for this trade record.

tradeIdstring

Unique trade identifier.

orderIdstring

Identifier of the order this trade was executed against.

clOrderIdstring

Client-supplied order identifier of the originating order.

symbolstring

Trading pair, formatted as BASE-QUOTE (e.g. BTC-USDT).

basestring

Base currency of the trading pair.

quotestring

Quote currency of the trading pair.

orderSidestring

Order side: BUY or SELL.

orderTypeint32

Numeric order-type code of the originating order (limit, market, peg, TWAP).

triggerTypeint32

Numeric trigger order-type code (stop-loss, take-profit, stop-loss-limit, or take-profit-limit). Only meaningful when the originating order was a trigger order.

triggerPricedouble

Trigger price of the originating order. Only meaningful when the originating order was a trigger order.

pricedouble

Execution price of this trade.

sizedouble

Original order size of the originating order.

filledSizedouble

Amount filled by this trade, in base currency.

feeCurrencystring

Currency in which the trading fee was charged.

feeAmountdouble

Trading fee amount charged for this trade, in feeCurrency.

timestampint64

Trade execution timestamp in Unix epoch milliseconds.

TradeHistoryResp
{
"serialId": 0,
"tradeId": "string",
"orderId": "string",
"clOrderId": "string",
"symbol": "string",
"base": "string",
"quote": "string",
"orderSide": "string",
"orderType": 0,
"triggerType": 0,
"triggerPrice": 0,
"price": 0,
"size": 0,
"filledSize": 0,
"feeCurrency": "string",
"feeAmount": 0,
"timestamp": 0
}