okx_get_positions_history
Retrieve historical positions from OKX exchange with optional filters by product ID, product type, and limit.
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_positions_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回条数,默认100 | |
| instId | No | 产品ID,如 BTC-USDT-SWAP | |
| instType | No | 产品类型。MARGIN=杠杆, SWAP=永续, FUTURES=交割, OPTION=期权。不填返回全部 |