get_candles
Retrieve OHLCV candlestick data for a specified trading pair and timeframe. Use optional date and limit parameters to control the data range and number of candles.
Instructions
ローソク足を取得(/candlestick)。OHLCVデータ。date: 1min〜1hour→YYYYMMDD, 4hour以上→YYYY。limit で本数指定。
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_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Trading pair (e.g., btc_jpy) | |
| type | No | Candle type/timeframe | 1day |
| date | No | Date in YYYYMMDD (for minute/hour) or YYYY (for day/week/month) | |
| limit | No | Number of candles to return |