API Reference

Get Sub Account Trades

Weight: 1

Request Parameters


PARAMETERTYPEReq 'dDESCRIPTION
subAccountIdSTRINGSub Account ID
timestampLONGYTimestamp

Response Content


PARAMETERTYPEExample valuesDESCRIPTION
-Object ArrayCheck transaction results
idINTEGER1470930841345474561Unique transaction ID (This value is the trade_id in v0 API)
clientOrderIdINTEGER999999999800021An ID defined by the client for the order, it will be automatically generated if it is not sent in the request
ticketIdINTEGER1478144171272585249Execution ID, the execution ID is the same for the direction of a single trade.
symbolSTRINGBTCUSDTrading pair
symbolNameSTRINGBTCUSDTrading pair name
orderIdINTEGER1470930841211329280Order ID
matchOrderIdINTEGER1470930605684362240//Ignore
priceSTRING (decimal)29851.03Price
qtySTRING (decimal)0.0005Quantity
commissionSTRING (decimal)0.02985103Commission fee
commissionAssetSTRINGUSDCurrency of commission fee
timeSTRING (decimal)1690084620567Millisecond Timestamp
isBuyerBOOLEANfalseWhether the trade is a buyer
isMakerBOOLEANfalseWhether the trade is a maker
feeObjectFee information
fee.feeCoinSTRINGUSDCurrency for fees
fee.feeCoinIdSTRINGUSDCurrency ID for fees
fee.feeCoinNameSTRINGUSDFee currency name
fee.feeSTRING (decimal)0.02985103Transaction fee amount
feeCoinIdSTRINGUSDFee currency
feeAmountSTRING (decimal)0.02985103Amount of transaction fee
makerRebateINTEGER0Return
Language
Authorization
Header
Click Try It! to start a request and see the response here!