get https://api.liquiditytech.com/api/v1/trading/history/orders
Rate Limit: 30 requests per 10 seconds
Retrieve finished orders from the past 7 days.
Request
Name | Type | Mandatory | Description |
---|---|---|---|
sym | String | N | Trading pair unique identifier(example: BINANCE_SPOT_ETH_USDT, OKX_PEPR_ETH_USDT) |
businessType | String | N | Business type |
exchange | String | N | Exchange |
begin | String | N | Query start millisecond timestamp, the default is to query data from the past 7 days. |
end | String | N | Query end millisecond timestamp |
page | String | N | Current page |
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 | Order state(NEW, OPEN, CANCELLED, FILLED, PARTIALLY_FILLED, REJECT, FAIL) |
sym | String | Trading pair unique identifier(example: BINANCE_SPOT_ETH_USDT, OKX_PEPR_ETH_USDT) |
side | String | Side(BUY,SELL) |
exchangeOrderType | String | Exchange order type(LIMIT, MARKET) |
exchangeType | String | Exchange type(BINANCE, OKX) |
businessType | String | Business type(SPOT, 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 |
leverage | Integer | Leverage |
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) |
createAt | String | Create time |
updateAt | String | Update time |