Skip to main content
Glama

CCXT MCP Server

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

Input Schema

NameRequiredDescriptionDefault
apiKeyYesAPI key for authentication
exchangeYesExchange ID (e.g., binance, bybit)
leverageYesLeverage value
marketTypeNoMarket type (default: future)future
passphraseNoPassphrase for authentication (required for some exchanges like KuCoin)
secretYesAPI secret for authentication
symbolYesTrading pair symbol (e.g., BTC/USDT)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "apiKey": { "description": "API key for authentication", "type": "string" }, "exchange": { "description": "Exchange ID (e.g., binance, bybit)", "type": "string" }, "leverage": { "description": "Leverage value", "exclusiveMinimum": 0, "type": "number" }, "marketType": { "default": "future", "description": "Market type (default: future)", "enum": [ "future", "swap" ], "type": "string" }, "passphrase": { "description": "Passphrase for authentication (required for some exchanges like KuCoin)", "type": "string" }, "secret": { "description": "API secret for authentication", "type": "string" }, "symbol": { "description": "Trading pair symbol (e.g., BTC/USDT)", "type": "string" } }, "required": [ "exchange", "symbol", "leverage", "apiKey", "secret" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/doggybee/mcp-server-ccxt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server