get_trade_history
Retrieve historical executed trades from Interactive Brokers using a Flex query and local archive. Filter by symbol, date range, or row limit.
Instructions
Historical executed trades from the configured Flex query (up to its period, plus everything previously archived locally). Needs IBKR_FLEX_QUERY_ID + token; see README.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Only last N days; 0 = all | |
| symbol | No | Filter by symbol; empty for all | |
| max_rows | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |