CM Account Trade List(USER_DATA)
#
API DescriptionGet trades for a specific account and CM symbol.
#
HTTP RequestGET /papi/v1/cm/userTrades
#
Request Weight20 with symbol, 40 with pair
#
Request ParametersName | Type | Mandatory | Description |
---|---|---|---|
symbol | STRING | NO | |
pair | 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
orpair
must be sentsymbol
andpair
cannot be sent togetherpair
andfromId
cannot be sent together- If a
pair
is sent, tickers for all symbols of thepair
will be returned- The parameter
fromId
cannot be sent withstartTime
orendTime
- If
startTime
andendTime
are both not sent, then the last '24 hours' data will be returned.- The time between
startTime
andendTime
cannot be longer than 24 hours.