get_rates
Retrieve historical OHLCV price bars for any symbol and timeframe from MetaTrader 5. Control the number of bars and starting index.
Instructions
Get OHLCV bars for symbol on timeframe (e.g. M1, M15, H1, H4, D1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| symbol | Yes | ||
| start_pos | No | ||
| timeframe | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |