okx_close_grid_position
Close an active grid strategy position on OKX by providing the grid ID and type. Ideal for terminating grid trading 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": {
"algoId": "<algoId>",
"algoOrdType": "<algoOrdType>"
},
"name": "okx_close_grid_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algoId | Yes | 网格策略ID。必填 | |
| algoOrdType | Yes | 网格类型 |