Trade

Query OCO (USER_DATA)

Retrieves a specific OCO based on provided optional parameters

Weight(IP): 4

get/api/v3/orderList

Query parameters

orderListIdinteger

Order list id

origClientOrderIdstring

Order id from client

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

OCO details

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

Example response

{
  "orderListId": 27,
  "contingencyType": "OCO",
  "listStatusType": "EXEC_STARTED",
  "listOrderStatus": "EXECUTING",
  "listClientOrderId": "h2USkA5YQpaXHPIrkd96xE",
  "transactionTime": 1565245656253,
  "symbol": "LTCBTC"
}

Changes

Changed in 1 of the 26 revisions of this API.315

  • a484ce871a72315See the full diff
    • for the query request parameter orderListId, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • for the query request parameter recvWindow, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • for the query request parameter timestamp, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • the response property code became required for the status 400

      response-property-became-required

    • the response property code became required for the status 401

      response-property-became-required

    • the response property contingencyType became required for the status 200

      response-property-became-required

    • the response property listClientOrderId became required for the status 200

      response-property-became-required

    • the response property listOrderStatus became required for the status 200

      response-property-became-required

    • the response property listStatusType became required for the status 200

      response-property-became-required

    • the response property msg became required for the status 400

      response-property-became-required

    • the response property msg became required for the status 401

      response-property-became-required

    • the response property orderListId became required for the status 200

      response-property-became-required

    • the response property orders became required for the status 200

      response-property-became-required

    • the response property orders/items/clientOrderId became required for the status 200

      response-property-became-required

    • the response property orders/items/orderId became required for the status 200

      response-property-became-required

    • the response property orders/items/symbol became required for the status 200

      response-property-became-required

    • the response property symbol became required for the status 200

      response-property-became-required

    • the response property transactionTime became required for the status 200

      response-property-became-required