set_spot_margin_leverage
Set the spot margin leverage for a currency to control position size and risk in margin trading.
Instructions
Set spot margin leverage.
Args: leverage: Leverage value, e.g., "2". currency: Currency (optional).
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": {
"leverage": "<leverage>"
},
"name": "set_spot_margin_leverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leverage | Yes | ||
| currency | No |