get_bars
Fetch historical OHLCV bars for a stock symbol across daily, weekly, or monthly intervals, enabling backtesting and trend analysis over a specified date range.
Instructions
Get historical OHLCV bars from the database (1d/1wk/1mo).
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": "get_bars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date YYYY-MM-DD | |
| from | No | Start date YYYY-MM-DD | |
| limit | No | ||
| symbol | Yes | Ticker, e.g. NVDA | |
| interval | No | 1d |