post https://trade-hk.oslsandbox.com/api/v4/order
Create a new order in the exchange.
To call this endpoint, the API Key need to have thePlace and Manage Orderspermission enabled (via OSL website).
Order Types Supported
- Limit Order Day -
OrdType = Limit,timeInForce = Day - Limit Order (GTC) -
OrdType = Limit,timeInForce = GoodTillCancel - Market Order -
OrdType = Market,timeInForce = GoodTillCancel - Immediate or Cancel (IOC) -
OrdType = Limit,timeInForce = ImmediateOrCancel - Fill or Kill (FOK) -
OrdType = Limit,timeInForce = FillOrKill - Post-Only Order -
OrdType = Limit,timeInForce = Day or GoodTillCancel,execInst = PostOnly
ordStatus Code Table
ordStatus Code Table| Code | Description |
|---|---|
| New | The order is active and unexecuted on the exchange |
| PartiallyFilled | The order is active and partially filled on the exchange |
| Filled | The order is fully filled and no longer active on the exchange |
| Cancelled | The order is cancelled and no longer active on the exchange |
| Replaced | The order is amended |
| Rejected | The order is rejected and no longer active on the exchange |
| Suspended | The order is suspended |
| Expired | The order is expired and no longer active on the exchange |
| Withdrawn | The order is withdrawn to prevent self trade orders |
