fetchOHLCV
Retrieve historical candlestick price data for prediction market outcomes. Specify exchange, outcome ID, time range, and resolution to get aggregated OHLCV data.
Instructions
Fetch historical OHLCV (candlestick) price data for a specific market outcome.
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": {
"exchange": "<exchange>",
"outcomeId": "<outcomeId>"
},
"name": "fetchOHLCV"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exchange | Yes | The prediction market exchange to target. | |
| outcomeId | Yes | ||
| resolution | No | Required for candle aggregation | |
| start | No | Start of the time range | |
| end | No | End of the time range | |
| limit | No | Maximum number of results to return | |
| verbose | No | Return full uncompacted response. Default false returns a compact, agent-friendly summary. |