Get OHLC Data
get_ohlc_dataFetches OHLC candlestick price history for a Kraken Pro trading pair, letting you analyze market trends with a custom interval and optional start timestamp.
Instructions
Get OHLC/candlestick data for a trading pair (price history)
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": {
"pair": "<pair>"
},
"name": "get_ohlc_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Trading pair (e.g., XBTUSD, ETHUSD) | |
| since | No | Return data since given timestamp (optional) | |
| interval | No | Timeframe in minutes (1, 5, 15, 30, 60, 240, 1440, 10080, 21600) |