Skip to main content
Glama

CCXT MCP Server

place-market-order

Execute a market order on a cryptocurrency exchange by specifying the trading pair, order side, and amount. Authenticate with API keys and choose the market type (spot, future, swap, option, margin).

Instructions

Place a market order on an exchange

Input Schema

NameRequiredDescriptionDefault
amountYesAmount to buy/sell
apiKeyYesAPI key for authentication
exchangeYesExchange ID (e.g., binance, coinbase)
marketTypeNoMarket type (default: spot)
passphraseNoPassphrase for authentication (required for some exchanges like KuCoin)
secretYesAPI secret for authentication
sideYesOrder side: buy or sell
symbolYesTrading pair symbol (e.g., BTC/USDT)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "amount": { "description": "Amount to buy/sell", "exclusiveMinimum": 0, "type": "number" }, "apiKey": { "description": "API key for authentication", "type": "string" }, "exchange": { "description": "Exchange ID (e.g., binance, coinbase)", "type": "string" }, "marketType": { "description": "Market type (default: spot)", "enum": [ "spot", "future", "swap", "option", "margin" ], "type": "string" }, "passphrase": { "description": "Passphrase for authentication (required for some exchanges like KuCoin)", "type": "string" }, "secret": { "description": "API secret for authentication", "type": "string" }, "side": { "description": "Order side: buy or sell", "enum": [ "buy", "sell" ], "type": "string" }, "symbol": { "description": "Trading pair symbol (e.g., BTC/USDT)", "type": "string" } }, "required": [ "exchange", "symbol", "side", "amount", "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