okx_get_max_size
Calculate the maximum order size for a given instrument and margin mode on OKX.
Instructions
[L:READ] CAT:[账户] | → 请先调用 agent_catalog
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ccy | No | 币种(仅MARGIN全仓时需要),如 USDT | |
| instId | Yes | 产品ID,如 BTC-USDT-SWAP。必填 | |
| tdMode | Yes | 保证金模式。cross=全仓, isolated=逐仓, cash=非保证金 |