stream_ohlc_snapshot
Get an in-progress OHLC candle from REST, then update it with 5-minute chart stream data. Use REST historical prices for completed candles to fill out the chart.
Instructions
Seed an in-progress OHLC candle from REST, then update it from 5-minute chart stream data. Use REST historical prices for completed candles.
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": {
"epic": "<epic>",
"timeframe": "<timeframe>"
},
"name": "stream_ohlc_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epic | Yes | ||
| updates | No | ||
| timeframe | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |