post
https://api-hk.osl.com/api/v5/order
Submit a single order (authentication required). Requires spot trading permission (SPOT_TRADE).
Only supports LIMIT/MARKET order types:
- LIMIT:
price+quantityrequired, supports quantity-based placement only - MARKET: Do not send
price
MARKET Order Combinations:
| side | amount | quantity | Order Basis |
|---|---|---|---|
| BUY | Y | Y | Order by amount (includes fee) |
| BUY | Y | N | Order by amount (includes fee) |
| BUY | N | Y | Order by quantity |
| SELL | Y | Y | Order by quantity |
| SELL | Y | N | Order by amount |
| SELL | N | Y | Order by quantity |
In MARKET buy scenarios,
amountincludes trading fees.
Note: When newOrderRespType is set to RESULT, MARKET orders directly return execution results; LIMIT orders with special timeInForce settings directly return execution or expired/rejected results.
