get https://api.liquiditytech.com/api/v1/trading/order
Rate Limit: 1200 requests per 60 seconds
Retrieve order details for all order status.
Request
| Name | Type | Mandatory | Description |
|---|---|---|---|
| orderId | String | N | Order ID |
| clientOrderId | String | N | Customer-defined order ID , consists of letters(a-z) and numbers(0-9) |
Tip:Either orderId or clientOrderId must be sent.query all order state (NEW, OPEN, CANCELLED, FILLED, PARTIALLY_FILLED, REJECT, FAIL)
Response
| Field | Type | Remark |
|---|---|---|
| portfolioId | String | Portfolio ID |
| orderId | String | Order ID |
| clientOrderId | String | Customer-defined order ID |
| orderState | String | Please see ENUM Definitions for supported values. |
| sym | String | Trading pair unique identifier ,example: BINANCE_SPOT_BTC_USDT, BINANCE_PERP_BTC_USDT |
| side | String | Side(BUY,SELL) |
| exchangeOrderType | String | Exchange order type(LIMIT, MARKET) |
| orderType | String | Please see ENUM Definitions for supported values. |
| exchangeType | String | Exchange type(BINANCE, OKX, EDX) |
| businessType | String | Business type(SPOT,MARGIN,PERP) |
| orderQty | String | Order quantity, note: trading unit of OKX is the number of contracts/ trading unit of Binance is the number of coin |
| quoteOrderQty | String | Order quote quantity, only use for Spot Market Buy order |
| limitPrice | String | Order price |
| timeInForce | String | Timeinforce (default GTC, enums:GTC,IOC,FOK,GTX) |
| reason | String | Fail message |
| executedQty | String | Executed quantity, note: trading unit of OKX is the number of contracts/ trading unit of Binance is the number of coin |
| executedAvgPrice | String | Average transaction price |
| executedAmount | String | Executed quote quantity |
| reduceOnly | String | Reduce position orders only, "true" or "false" |
| lastExecutedQty | String | Last transaction quantity |
| lastExecutedPrice | String | Last transaction price |
| lastExecutedAmount | String | Last transaction amount |
| fee | String | Transaction fee amount |
| feeCoin | String | Transaction fee coin |
| rebate | String | Rabate amount |
| rebateCoin | String | Rebate coin |
| borrowAmount | String | Borrow amount |
| borrowAsset | String | Borrow asset |
| positionSide | String | Position side(NONE/LONG/SHORT) |
| tpTriggerPrice | String | Take-profit trigger price. |
| tpTriggerType | String | Take-profit trigger price type: LAST_PRICE, MARK_PRICE The default is LAST_PRICE |
| tpPrice | String | Take-profit order price; If the price is 0, take-profit will be executed at the market price. |
| slTriggerPrice | String | Stop-loss trigger price |
| slTriggerType | String | Stop-loss trigger price type: LAST_PRICE, MARK_PRICE The default is LAST_PRICE |
| slPrice | String | Stop-loss order price; If the price is 0, stop-loss will be executed at the market price. |
| createAt | String | Create time |
| updateAt | String | Update time |
| action | String | AMEND_PENDING AMEND_COMPLETED AMEND_FAILED CANCEL_PENDING CANCEL_COMPLETE CANCEL_FAILED |
| actionMsg | String | action msg |
| cancelType | String | USER EXPIRE REDUCE_ONLY LIQUIDATING SYSTEM SYM_DELIST |
| amendType | String | USER REDUCE_ONLY |
