post https://api.liquiditytech.com/api/v1/trading/order
Rate Limit: 1200 requests per 60 seconds
Place a new order, this api is asynchronous. Returning success only means that the request is successful. The final result needs to be confirmed through websocket subscription and order query.
Request
Field name | Type | Necessary | Remarks |
---|---|---|---|
clientOrderId | String | N | Customer defined order ID ,only support letters(a-z) and numbers(0-9) |
sym | String | Y | Sym(unique identifier:Exchange_Business_Base_Counter. Example: If you want to place a SPOT order for the BTC/USDT trading pair on the Binance exchange, you can use a unique identifier like this: "BINANCE_SPOT_BTC_USDT" ; If you want to place a PERPETUAL order for the BTC/USDT trading pair on the Binance exchange, you can use a unique identifier like this: "BINANCE_PERP_BTC_USDT" ; ) Note that we currently only support the SPOT and PERPETUAL trade of Binance and OKX. |
side | String | Y | Side(BUY, SELL) |
orderType | String | Y | Order type(default LIMIT, support type enums:LIMIT,MARKET) |
timeInForce | String | N | TimeInForce (default GTC, support type enums:GTC,IOC,FOK,GTX), GTX = GTC + Post only |
orderQty | String | N | Order quantity(Mandatory, unless spot market buy ) note: trading unit of OKX is the number of contracts/ trading unit of Binance is the number of coin |
limitPrice | String | N | Limit order price(Mandatory for limit order) |
quoteOrderQty | String | N | Order quote quantity, only use for spot market buy order |
reduceOnly | String | N | Reduce position orders only, must "true" or "false" |
Response
Field name | Type | Remarks |
---|---|---|
orderId | String | Order ID |