fetch_order
Retrieve a pending order by its ID to check current status, fill progress, and price parameters. Use to monitor an order after placing it or to confirm it's active before cancelling.
Instructions
Retrieve a single pending order by its ID to check its current status,
fill progress, and price parameters.
Use this after placing an order to monitor its status, or before cancelling
to confirm the order is still active. See also: fetch_all_orders to list
all pending orders at once.
Args:
order_id: Numeric order ID returned when the order was placed (e.g., 12345678)
Returns:
Order with id, ticker, type, status, quantity, filledQuantity, limitPrice, stopPriceInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| ticker | Yes | ||
| type | No | ||
| status | No | ||
| quantity | No | ||
| filledQuantity | No | ||
| filledValue | No | ||
| limitPrice | No | ||
| stopPrice | No | ||
| strategy | No | ||
| value | No | ||
| creationTime | No |