Trade

Query all OCO (USER_DATA)

Changed on

Retrieves all OCO based on provided optional parameters

Weight(IP): 20

get/api/v3/allOrderList

Request

  • Base URL
    https://api.binance.com
  • URL
    https://api.binance.com/api/v3/allOrderList
  • Auth
    API key in header X-MBX-APIKEY

Query parameters

fromIdinteger

Trade id to fetch from. Default gets most recent trades.

startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

limitinteger
Example:5

Default 500; max 1000.

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

List of OCO orders

orderListIdinteger required
contingencyTypestring required
listStatusTypestring required
listOrderStatusstring required
listClientOrderIdstring required
transactionTimeinteger required
symbolstring required
isIsolatedboolean required

Example response

[
  {
    "orderListId": 29,
    "contingencyType": "OCO",
    "listStatusType": "EXEC_STARTED",
    "listOrderStatus": "EXECUTING",
    "listClientOrderId": "amEEAXryFzFwYF1FeRpUoZ",
    "transactionTime": 1565245913483,
    "symbol": "LTCBTC"
  }
]

Changes

    • breaking

      for the query request parameter endTime, the format changed from no format to int64

    • breaking

      for the query request parameter fromId, the format changed from no format to int64

    • breaking

      for the query request parameter limit, the format changed from no format to int32

    • breaking

      for the query request parameter recvWindow, the format changed from no format to int64

    • breaking

      for the query request parameter startTime, the format changed from no format to int64

    • breaking

      for the query request parameter timestamp, the format changed from no format to int64

    • 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