Get Ohlcv
get_ohlcvFetch raw OHLCV candlestick bars for a symbol and interval to inspect recent price action or run your own calculations.
Instructions
Fetches raw OHLCV (Open, High, Low, Close, Volume) candlestick bars for a symbol. Use when you need the price series itself — to eyeball recent action or do your own maths.
This is the cheapest of the three price tools and the only one that returns bars. For indicators and a reading of them use get_market_analysis; for whether the daily, hourly and 15-minute pictures agree use get_multi_timeframe.
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_ohlcv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of bars to return (default 20). | |
| symbol | Yes | The stock symbol (e.g. AAPL, KBANK). | |
| interval | No | Bar interval (D, M1, M5, M15, M30, H1, W). | D |