get_orders
Check order status (open, filled, cancelled) across all Firstrade accounts, using Firstrade order IDs to identify resting GTC orders and attribute fills to plans.
Instructions
List orders and their status (open / filled / cancelled) for all accounts.
Each entry carries the Firstrade order id (e.g. 'G42621-1601'), which is the authoritative link between a fill and the GTC ladder it came from. Use this to see resting GTC orders, detect dead orders, and attribute fills to a plan.
Args: per_page: Orders per page. 0 (default) returns all.
Returns JSON keyed by account number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| per_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |