get_rates
Retrieve OHLC bars for any symbol at specified timeframe, sorted most recent first. Supports timeframes M1 to MN1 and count up to 5000.
Instructions
OHLC bars for symbol at timeframe, most recent first.
timeframe: one of M1, M5, M15, M30, H1,
H4, D1, W1, MN1. count is clamped to
[1, 5000].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| timeframe | Yes | ||
| count | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |