Query Margin Account's Trade List (USER_DATA)
Changed on- If fromId is set, it will get orders >= that fromId. Otherwise most recent trades are returned.
Weight(IP): 10
Request
- Base URLhttps://api.binance.com
- URLhttps://api.binance.com/sapi/v1/margin/myTrades
- AuthAPI key in header X-MBX-APIKEY
Query parameters
Trading symbol, e.g. BNBUSDT
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
UTC timestamp in ms
UTC timestamp in ms
Trade id to fetch from. Default gets most recent trades.
Default 500; max 1000.
The value cannot be greater than 60000
UTC timestamp in ms
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
}
]Changes
- breaking
for the
queryrequest parameterendTime, the format changed from no format toint64 - breaking
for the
queryrequest parameterfromId, the format changed from no format toint64 - breaking
for the
queryrequest parameterlimit, the format changed from no format toint32 - breaking
for the
queryrequest parameterrecvWindow, the format changed from no format toint64 - breaking
for the
queryrequest parameterstartTime, the format changed from no format toint64 - breaking
for the
queryrequest parametertimestamp, the format changed from no format toint64 - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- breaking