Order Status Codes
| Status Code | Status | Description |
|---|---|---|
| 0 | STATUS_PENDING | Pending (i.e. Not yet sent to market) |
| 1 | STATUS_ONBOOK | On Book (i.e. Live order in market) |
| 10 | STATUS_DONE | Done (i.e. Fully executed) |
| 11 | STATUS_MANUALLY_CANCELLED | Manually cancelled |
| 12 | STATUS_AUTO_CANCELLED | Auto cancelled |
| 13 | STATUS_PARTIALLY_FILLED | Partially Filled |
| 14 | STATUS_EXPIRED | Market expired |
| 99 | STATUS_ERROR | Error |