Trading
Full trading operations including order placement, modification, cancellation, order queries, and option exercises.
| Page | Description |
|---|---|
| Get Contract | Query contract information (required before placing orders) |
| Place Orders | Market orders, limit orders, stop orders, and more |
| Cancel or Modify Orders | Cancel, reprice, or resize orders |
| Get Order Information | Query intraday/historical orders and trade details |
| Option Exercise | Submit and query option exercise requests |
API List
Contract Queries
| Method | Description |
|---|---|
| get_contract | Get single contract information |
| get_contracts | Get multiple contracts in batch |
| get_derivative_contracts | Get option/warrant/CBBC contract list |
Order Placement
| Method | Description |
|---|---|
| place_order | Place order (market, limit, stop, etc.) |
| create_order | Create order request (get order ID) |
| place_forex_order | Place forex exchange order |
| preview_order | Preview order (simulate without submitting) |
Order Modification & Cancellation
| Method | Description |
|---|---|
| cancel_order | Cancel order |
| modify_order | Modify order price or quantity |
Order Queries
| Method | Description |
|---|---|
| get_orders | Get order list |
| get_order | Get specific order details |
| get_open_orders | Get pending orders |
| get_cancelled_orders | Get cancelled orders |
| get_filled_orders | Get filled orders |
| get_transactions | Get order fill records |
