okx_indicator_batch
Batch calculate technical indicators like SMA, RSI, MACD for any OKX instrument. Select bar size and multiple indicators to retrieve combined market data in one call.
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": {
"instId": "<instId>",
"indicators": "<indicators>"
},
"name": "okx_indicator_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | K线粒度,默认1H | |
| instId | Yes | 产品ID,如 BTC-USDT | |
| indicators | Yes | 指标名列表,逗号分隔。可选: sma,ema,rsi,macd,bb,atr,stoch,wr,cci,obv,vwap,adx,mfi,cmf,supertrend,keltner,pattern |