Margin
Query Margin Account's Trade List (USER_DATA)
- If fromId is set, it will get orders >= that fromId. Otherwise most recent trades are returned.
Weight(IP): 10
get/sapi/v1/margin/myTrades
Query parameters
symbolstring required
Example:BNBUSDT
Trading symbol, e.g. BNBUSDT
isIsolated'TRUE' | 'FALSE'
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
startTimeinteger
UTC timestamp in ms
endTimeinteger
UTC timestamp in ms
fromIdinteger
Trade id to fetch from. Default gets most recent trades.
limitinteger
Example:5
Default 500; max 1000.
recvWindowinteger
Example:5000
The value cannot be greater than 60000
timestampinteger required
UTC timestamp in ms
signaturestring required
Signature
Response
List of margin trades
Example response
[
{
"commission": "0.00006000",
"commissionAsset": "BTC",
"id": 28,
"orderId": 28,
"price": "0.02000000",
"qty": "1.02000000",
"symbol": "BNBBTC",
"time": 1507725176595
}
]