Search Orders
get_ordersRetrieve your brokerage orders with filters for date range, tickers, and pagination. Supports writing all pages to a file.
Instructions
Your orders on the account (data since 2026-01-26): ticker, side, type, quantity/filled, price, orderStatus (cancelled/filled/active), timestamps. Paginated (page/size), optional date and ticker filters; with outputPath ALL pages are dumped to a file. Orders rejected before reaching the exchange do NOT appear here — check them via get_order_status by client UUID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Filter: end of period, ISO 8601 | |
| from | No | Filter: start of period, ISO 8601 | |
| page | No | Page number, from 0 (ignored with outputPath — all pages are fetched) | |
| size | No | Records per page | |
| tickers | No | Filter by tickers | |
| outputPath | No | Write the full result to this file (path relative to the output root: BCS_OUTPUT_DIR or server cwd) instead of returning it inline. The response becomes a short summary {savedTo, records, bytes, sample}. Use for bulk data to keep the context clean. For get_candles this also enables full-history fetching (chunking beyond the 1000-bar API limit). | |
| outputFormat | No | File format; default json (or csv if outputPath ends with .csv). csv writes the main flat array of the response. |