Account Trade List (USER_DATA)
#
API DescriptionGet trades for a specific account and symbol.
#
HTTP RequestGET /dapi/v1/userTrades
#
Request Weight20 with symbol,40 with pair
#
Request ParametersName | Type | Mandatory | Description |
---|---|---|---|
symbol | STRING | NO | |
pair | STRING | NO | |
orderId | STRING | NO | |
startTime | LONG | NO | |
endTime | LONG | NO | |
fromId | LONG | NO | Trade id to fetch from. Default gets most recent trades. |
limit | INT | NO | Default 50; max 1000 |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- Either symbol or pair must be sent
- Symbol and pair cannot be sent together
- Pair and fromId cannot be sent together
- If a pair is sent,tickers for all symbols of the pair will be returned
- The parameter
fromId
cannot be sent withstartTime
orendTime