get
https://api.liquiditytech.com/api/v1/trading/orders
Rate Limit: 1200 requests per 60 seconds
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Rate Limit: 1200 requests per 60 seconds
Retrieve order details for all NEW/OPEN/PARTIALLY_FILLED status.
Tip: query order state in NEW/OPEN status and in current portfolioId.
Request
| Name | Type | Mandatory | Description |
|---|---|---|---|
sym | String | N | Trading pair unique identifier, for example BINANCE_SPOT_BTC_USDT. |
exchange | String | N | Exchange type (BINANCE, OKX, EDX). |
businessType | String | N | Business type (for example SPOT). |
begin | String | N | Start of the query window, in milliseconds since Unix epoch. |
end | String | N | End of the query window, in milliseconds since Unix epoch. |
page | String | N | Current page (Default 1). |
pageSize | String | N | Page size (Default 1000, max 1000). |
Response
| Field | Type | Remark |
|---|---|---|
portfolioId | String | Portfolio ID |
portfolioName | String | Portfolio Name |
orderId | String | Order ID |
clientOrderId | String | Customer-defined order ID |
orderState | String | See ENUM Definitions for supported values. |
sym | String | Trading pair unique identifier, for example BINANCE_SPOT_BTC_USDT. |
side | String | Side (BUY, SELL) |
exchangeOrderType | String | Exchange order type (LIMIT, MARKET) |
orderType | String | Internal order type assigned by the system. DMA for standard direct-market-access orders. Also see ENUM Definitions for supported values. |
exchangeType | String | Exchange type (BINANCE, OKX, EDX) |
businessType | String | Business type (for example SPOT) |
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 | Time in force. Default GTC. Supported values: GTC, IOC, FOK, GTX. |
reason | String | Failure reason message, if the order is rejected or cancelled by the system. |
executedQty | String | Total executed quantity. For spot orders, this is the filled amount of the base asset. For derivatives, on OKX this is the number of contracts, and on Binance USDT-margined contracts it is effectively the base asset quantity (1 contract = 1 unit of the base asset). |
executedAvgPrice | String | Average execution price of the filled quantity. |
executedAmount | String | Total executed quote amount. |
reduceOnly | Boolean | Reduce position orders only. true or false. |
lastExecutedQty | String | Quantity of the most recent fill, in the same unit as executedQty. |
lastExecutedPrice | String | Price of the most recent fill. |
lastExecutedAmount | String | Quote amount of the most recent fill. |
fee | String | Cumulative trading fee for this order. Positive = fee charged (taker). "0" when the order earned a maker rebate instead (see rebate field). |
feeCoin | String | Currency of the trading fee. Empty string if no fee was charged. |
rebate | String | Cumulative maker rebate received. "0" for taker orders. For OKX spot: BUY orders return quote currency, SELL orders return base currency. For Binance spot: returns quote currency. For perpetuals: returns USDT. |
rebateCoin | String | Currency of the rebate. Empty string if no rebate was received. |
leverage | Integer | Leverage applied to the order. |
borrowAmount | String | Borrowed amount for margin trading (if applicable). |
borrowAsset | String | Asset symbol of the borrowed currency. |
positionSide | String | Position side. In One-Way Mode, this is always NONE. In Hedge Mode, LONG and SHORT indicate the order belongs to the long or short leg of the position. |
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. |
cancelType | String | Reason the order was cancelled. Possible values: USER, EXPIRE, REDUCE_ONLY, LIQUIDATING, SYSTEM, SYM_DELIST. Empty string if the order has not been cancelled. |
amendType | String | Reason the order was amended. Possible values: USER, REDUCE_ONLY. Empty string if the order has not been amended. |
createAt | String | Order creation time, in milliseconds since Unix epoch. |
updateAt | String | Last update time of the order, in milliseconds since Unix epoch. |
Example Request
GET /api/v1/trading/orders?sym=BINANCE_SPOT_ETH_USDT&page=1&pageSize=10
Example Response
{
"code": 200000,
"message": "Success",
"data": {
"page": 1,
"pageSize": 10,
"pageNum": 1,
"totalSize": 1,
"list": [
{
"portfolioId": "1732260294043000",
"portfolioName": "Main Portfolio",
"orderId": "2106591138643265",
"clientOrderId": "myorder001",
"orderState": "OPEN",
"sym": "BINANCE_SPOT_ETH_USDT",
"side": "BUY",
"exchangeOrderType": "LIMIT",
"exchangeType": "BINANCE",
"orderType": "DMA",
"businessType": "SPOT",
"orderQty": "0.5",
"quoteOrderQty": "",
"limitPrice": "3100",
"timeInForce": "GTC",
"reason": "",
"executedQty": "0",
"executedAvgPrice": "0",
"executedAmount": "0",
"reduceOnly": false,
"lastExecutedQty": "0",
"lastExecutedPrice": "0",
"lastExecutedAmount": "0",
"fee": "0",
"feeCoin": "",
"rebate": "0",
"rebateCoin": "",
"leverage": 1,
"borrowAmount": "0",
"borrowAsset": "",
"positionSide": "NONE",
"tpTriggerPrice": "",
"tpTriggerType": "LAST_PRICE",
"tpPrice": "0",
"slTriggerPrice": "",
"slTriggerType": "LAST_PRICE",
"slPrice": "0",
"cancelType": "",
"amendType": "",
"createAt": "1744466400000",
"updateAt": "1744466400000"
}
]
}
}
