调整逐仓保证金
trading_position_marginAdjust isolated position margin by increasing (type=1) or decreasing (type=2) the margin amount, and specify positionSide for hedge mode.
Instructions
调整逐仓保证金。type: 1=增加,2=减少(官方枚举);amount 恒为正数。双向(Hedge)模式下须提供 positionSide。
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": {
"symbol": "<symbol>",
"amount": "<amount>",
"type": "<type>"
},
"name": "trading_position_margin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| amount | Yes | ||
| symbol | Yes | ||
| positionSide | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| amount | Yes |