Query All CM Orders (USER_DATA)
#
API DescriptionGet all account CM orders; active, canceled, or filled.
#
HTTP RequestGET /papi/v1/cm/allOrders
#
Request Weight20 with symbol, 40 with pair
#
Request ParametersName | Type | Mandatory | Description |
---|---|---|---|
symbol | STRING | YES | |
pair | STRING | NO | |
orderId | LONG | NO | |
startTime | LONG | NO | |
endTime | LONG | NO | |
limit | INT | NO | Default 50; max 100. |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- Either
symbol
orpair
must be sent.- If
orderId
is set, it will get orders >= that orderId. Otherwise most recent orders are returned.- These orders will not be found:
- order status is
CANCELED
orEXPIRED
, AND- order has NO filled trade, AND
- created time + 3 days < current time