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.
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 |