Get OHLCV price history
market_get_priceFetch OHLCV price bars for a symbol and timeframe, then optionally load them into the local chart viewer. Supports multiple bar types and custom ranges.
Instructions
Get OHLCV bars for a symbol from the configured data source or currently loaded local dataset. By default also loads the result into the local chart viewer.
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": "market_get_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| type | No | ||
| range | No | ||
| symbol | Yes | Market symbol, preferably EXCHANGE:TICKER (for example NASDAQ:AAPL). | |
| loadChart | No | ||
| timeframe | No | Price interval. | 5 |