Skip to main content
Glama

set-margin-mode

Configure margin mode (cross or isolated) for futures trading on exchanges like Binance or Bybit using API keys and symbol details.

Instructions

Set margin mode for futures trading

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyYesAPI key for authentication
exchangeYesExchange ID (e.g., binance, bybit)
marginModeYesMargin mode: cross or isolated
marketTypeNoMarket type (default: future)future
secretYesAPI secret for authentication
symbolYesTrading pair symbol (e.g., BTC/USDT)

Latest Blog Posts

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/rand-tech/pcm'

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