put https://api.liquiditytech.com/api/v1/algo/order
Rate Limit: 3 requests per 10 seconds
Only apply for TPSL and DMA order with attached TPSL
Request
Field name | Type | Necessary | Remarks |
---|---|---|---|
algoOrderId | String | N | Algo order ID |
clientOrderId | String | N | Customer defined order ID |
orderQty | String | N | Algo order quantity; Note: trading unit of OKX is the number of contracts/ trading unit of Binance is the number of coin |
TP/SL
Field name | Type | Necessary | Remarks |
---|---|---|---|
conditionalTriggerPrice | String | N | Conditional Order Trigger Price |
conditionalTriggerType | String | N | Conditional Order Trigger Type: LAST_PRICE, MARK_PRICE |
conditionalPrice | String | N | Limit Price After Triggering Conditional Order ; 0 Indicates Market Price. |
tpTriggerPrice | String | N | Take-profit trigger price. |
tpTriggerType | String | N | Take-profit trigger price type: LAST_PRICE, MARK_PRICE The default is LAST_PRICE |
tpPrice | String | N | Take-profit order price; If the price is 0, take-profit will be executed at the market price. |
slTriggerPrice | String | N | Stop-loss trigger price |
slTriggerType | String | N | Stop-loss trigger price type: LAST_PRICE, MARK_PRICE The default is LAST_PRICE |
slPrice | String | N | Stop-loss order price; If the price is 0, stop-loss will be executed at the market price. |
Response
Field name | Type | Remarks |
---|---|---|
algoOrderId | String | Algo order ID |
clientOrderId | String | Customer defined order ID |