okx_get_spread_candles
Fetch historical spread candle data by spread contract ID, with configurable kline period and limit.
Instructions
[L:READ] CAT:[策略-价差] | → 请先调用 agent_catalog
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": {
"sprdId": "<sprdId>"
},
"name": "okx_get_spread_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | K线周期,默认1H | |
| limit | No | 返回条数,默认100 | |
| sprdId | Yes | 价差合约ID |