Trade

Get Order History

Changed on

Query order history. As order creation/cancellation is asynchronous, the data returned from this endpoint may delay.

get/api/v1/order/history

Request

Query parameters

sub_account_addressstring required

Trading vault address (subaccount) to query against.

symbolstring
Example:BTC-USDCx
order_idstring uuid
order_link_idstring
order_filterOrderFilter (unresolved $ref)
order_statusOrderStatus[] nullable
start_timestring date-time nullable
end_timestring date-time nullable
limitinteger nullable
cursorstring nullable

Response

Orders

next_page_cursorstring required

Example response

{
  "list": [
    {
      "created_time": "1672531200000",
      "expire_time": "1672531200000",
      "symbol": "BTC-USDCx",
      "updated_time": "1672531200000"
    }
  ]
}

Changes

    • warning

      added the new EcPriceNotMultipleOfTick enum value to the ////// response property for the response status

    • warning

      added the new EcQtyAboveMax enum value to the ////// response property for the response status

    • warning

      added the new EcQtyBelowMin enum value to the ////// response property for the response status

    • warning

      added the new EcQtyNotMultipleOfLot enum value to the ////// response property for the response status

    • info

      removed the EcEcInvalidQty enum value from the ////// response property for the response status

    • warning

      added the new EcReduceOnlyMode enum value to the ////// response property for the response status

    • warning

      added the new EcTradingHalted enum value to the ////// response property for the response status