Historical Orders
history_ordersRetrieve historical orders for a date range, excluding today, with optional symbol filter and pagination for US accounts.
Instructions
Get historical orders between dates (excludes today). Returns orders[]{order_id, symbol, side, status, quantity, price, submitted_at}. start_at/end_at in RFC3339. US accounts only: us_page, us_limit paginate via a separate US order endpoint (default page size 20 — pass us_page to see more than the first page).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | Optional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response. | |
| end_at | Yes | End time (RFC3339) | |
| symbol | No | Filter by symbol (optional) | |
| us_page | No | US accounts only: page number (default 1). Ignored for AP accounts (the region is inferred from the account — do not pass it). | |
| start_at | Yes | Start time (RFC3339) | |
| us_limit | No | US accounts only: page size (default 20). Ignored for AP accounts. |