Margin
Query Margin Account's Order (USER_DATA)
- Either orderId or origClientOrderId must be sent.
- For some historical orders cummulativeQuoteQty will be < 0, meaning the data is not available at this time.
Weight(IP): 10
get/sapi/v1/margin/order
Query parameters
symbolstring required
Example:BNBUSDT
Trading symbol, e.g. BNBUSDT
isIsolated'TRUE' | 'FALSE'
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
orderIdinteger
Order id
origClientOrderIdstring
Order id from client
recvWindowinteger
Example:5000
The value cannot be greater than 60000
timestampinteger required
UTC timestamp in ms
signaturestring required
Signature
Response
Interest History, response in descending order
Example response
{
"clientOrderId": "ZwfQzuDIGpceVhKW5DvCmO",
"cummulativeQuoteQty": "0.00000000",
"executedQty": "0.00000000",
"icebergQty": "0.00000000",
"orderId": 213205622,
"origQty": "0.30000000",
"price": "0.00493630",
"side": "SELL",
"status": "NEW",
"stopPrice": "0.00000000",
"symbol": "BNBBTC",
"time": 1562133008725,
"timeInForce": "GTC",
"type": "LIMIT",
"updateTime": 1562133008725,
"selfTradePreventionMode": "NONE"
}