ibkr_get_historical_bars
Fetch historical OHLCV bars for a stock symbol with customizable duration, bar size, and other parameters.
Instructions
Get historical OHLCV bars for a stock.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "ibkr_get_historical_bars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| duration | No | 1 D | |
| bar_size | No | 5 mins | |
| what_to_show | No | TRADES | |
| use_rth | No | ||
| exchange | No | SMART | |
| currency | No | USD |