API Reference

Get Sub Account Futures trades

Weight: 1

Request Parameters


PARAMETERTYPEReq'dExample valuesDESCRIPTION
symbolSTRINGYETHUSDT-PERPETUALName of the contract
limitINTEGER20 (default)The number of trades returned default 20 (max to 1000)
subAccountIdSTRINGYSub Account ID
fromIdLONGTradeId to retrieve from
toIdLONGTradeId to retrieve to
startTimeLONGStart Timestamp
endTimeLONGEnd Timestamp
recvWindowLONGrecv Window
timestampLONGY1714311403031Timestamp

Response Content


PARAMETERTYPEExample valuesDESCRIPTION
timeLONG1714359493905Timestamp when the order is created
tradeIdLONG1674563238321331712The ID for the trade
orderIdINTEGER1673994449678549760The ID of the order
symbolSTRINGETHUSDT-PERPETUALName of the contract.
priceFLOAT3250Price of the trade.
quantityFLOAT120Quantity of the trade.
commissionAssetSTRINGUSDTCurrency of commission fee
commissionSTRING0.234Commission fee
makerRebateSTRING0Return
sideSTRINGLIMITDirection of the order. Possible values include BUY_OPEN, SELL_OPEN, BUY_CLOSE, and SELL_CLOSE.
typeSTRINGBUY_OPENThe order type, possible types: LIMIT, MARKET
realizedPnlFLOAT0Profit and loss
isMakerBOOLEANtrueWhether the trade is a maker
Language
Authorization
Header
Click Try It! to start a request and see the response here!