Account Trade List
Get trade history for a symbol on the account. Only trades within the last month can be queried; use the web client export for more history (up to 540 days).
HTTP Request
- GET
/api/v3/myTrades
Required Permission: SPOT_ACCOUNT_READ
Weight(IP): 10
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| symbol | string | YES | |
| orderId | string | NO | order Id |
| startTime | long | NO | Start time, Unix millisecond timestamp |
| endTime | long | NO | End time, Unix millisecond timestamp |
| limit | int | NO | Default 100; max 100; |
| recvWindow | long | NO | |
| timestamp | long | YES |
Response Parameters
| Name | Description |
|---|---|
| symbol | |
| id | deal id |
| orderId | order id |
| orderListId | Order list ID |
| price | Price |
| qty | Quantity |
| quoteQty | Deal quantity |
| commission | |
| commissionAsset | |
| time | Trade time |
| isBuyer | Whether the account was the buyer for this trade |
| isMaker | Whether the account was the maker for this trade |
| isBestMatch | |
| isSelfTrade | isSelfTrade |
| clientOrderId | clientOrderId |
Response
[
{
"symbol": "BNBBTC",
"id": "fad2af9e942049b6adbda1a271f990c6",
"orderId": "bb41e5663e124046bd9497a3f5692f39",
"orderListId": -1,
"price": "4.00000100",
"qty": "12.00000000",
"quoteQty": "48.000012",
"commission": "10.10000000",
"commissionAsset": "BNB",
"time": 1499865549590,
"isBuyer": true,
"isMaker": false,
"isBestMatch": true,
"isSelfTrade": true,
"clientOrderId": null
}
]