okx_create_grid_order
Create grid trading orders on OKX with customizable price range and grid count. Supports spot, contract, and moon grid types.
Instructions
[L:WRITE] CAT:[策略-网格] | → 请先调用 agent_catalog
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxPx | Yes | 价格上限。必填 | |
| minPx | Yes | 价格下限。必填 | |
| instId | Yes | 产品ID。必填 | |
| gridNum | Yes | 网格数量。必填 | |
| direction | No | 合约网格方向。long=做多, short=做空, neutral=中性 | |
| algoOrdType | Yes | 网格类型。grid=现货网格, contract_grid=合约网格, moon_grid=天地网格 |