price_history
Fetch OHLC bars for a specified symbol and account using a chosen timeframe and count for charting, backtesting, and market analysis.
Instructions
OHLC bars. timeframe: M1 M5 M15 M30 H1 H4 D1 W1 MN1. Each bar has time (unix), open, high, low, close, tick_volume, spread.
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": {
"account_id": "<account_id>",
"symbol": "<symbol>"
},
"name": "price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| symbol | Yes | ||
| timeframe | No | H1 | |
| account_id | Yes |