get_candles
Retrieve OHLCV candlestick data for a security on Moscow Exchange. Specify ticker, interval (daily, hourly, or minute), and optional date range to obtain price history for analysis.
Instructions
Get OHLCV candlestick data for a security. Use interval=24 for daily candles, 60 for hourly, 10 or 1 for minutes.
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": {
"security": "<security>",
"interval": "<interval>"
},
"name": "get_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Start date (YYYY-MM-DD) | |
| till | No | End date (YYYY-MM-DD) | |
| board | No | Trading board (e.g. 'TQBR') | |
| engine | No | Trading engine (default 'stock') | stock |
| market | No | Market (default 'shares') | shares |
| interval | Yes | Candle interval in minutes: 1, 10, 60, or 24 (daily). Use 24 for day candles | |
| security | Yes | Security ticker (e.g. 'SBER') |