okx_get_spreads
Search and list OKX spread contracts by state, instrument ID, spread ID, or base currency to identify trading opportunities.
Instructions
[L:READ] CAT:[策略-价差] | → 请先调用 agent_catalog
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "okx_get_spreads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | 合约状态 | |
| instId | No | 腿合约产品ID,精确筛选 | |
| sprdId | No | 价差合约ID,如 BTC-USDT_BTC-USDT-SWAP | |
| baseCcy | No | 标的币种,如 BTC |