set-leverage
Configure leverage for futures trading on supported exchanges. Specify trading pairs, leverage values, and authentication details to adjust risk levels in cryptocurrency trading.
Instructions
Set leverage for futures trading
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": {
"exchange": "<exchange>",
"symbol": "<symbol>",
"leverage": "<leverage>",
"apiKey": "<apiKey>",
"secret": "<secret>"
},
"name": "set-leverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | API key for authentication | |
| exchange | Yes | Exchange ID (e.g., binance, bybit) | |
| leverage | Yes | Leverage value | |
| marketType | No | Market type (default: future) | future |
| passphrase | No | Passphrase for authentication (required for some exchanges like KuCoin) | |
| secret | Yes | API secret for authentication | |
| symbol | Yes | Trading pair symbol (e.g., BTC/USDT) |