okx_place_spread_order
Place a spread order on OKX for a specific spread contract. Set side, order type (market, limit, post-only, FOK, IOC), and quantity. Requires price for limit orders.
Instructions
[L:WRITE] 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>",
"side": "<side>",
"ordType": "<ordType>",
"sz": "<sz>"
},
"name": "okx_place_spread_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| px | No | 价格(限价单必填) | |
| sz | Yes | 数量。必填 | |
| side | Yes | 买卖方向。buy=买入, sell=卖出 | |
| sprdId | Yes | 价差合约ID。必填 | |
| ordType | Yes | 订单类型。market=市价, limit=限价 |