Skip to main content
Glama

Bybit MCP Server

place_order_with_trailing_stop

Place orders on Bybit with trailing stop loss to automatically adjust stop loss levels based on price movement. Supports market and limit orders, customizable activation prices, and diverse time-in-force options for enhanced trading strategies.

Instructions

Place order with trailing stop loss

Input Schema

NameRequiredDescriptionDefault
activePriceNoPrice at which trailing stop activates (optional)
categoryYesCategory (linear, inverse)
orderLinkIdNoOrder link ID (optional)
orderTypeYesOrder type (Market, Limit)
positionIdxNoPosition index (optional, auto-detected if not provided)
priceNoOrder price (for limit orders)
qtyYesOrder quantity
sideYesOrder side (Buy, Sell)
symbolYesSymbol (e.g., ETHUSDT)
timeInForceNoTime in force (GTC, IOC, FOK)
trailingStopYesTrailing stop distance

Input Schema (JSON Schema)

{ "properties": { "activePrice": { "description": "Price at which trailing stop activates (optional)", "type": "string" }, "category": { "description": "Category (linear, inverse)", "type": "string" }, "orderLinkId": { "description": "Order link ID (optional)", "type": "string" }, "orderType": { "description": "Order type (Market, Limit)", "type": "string" }, "positionIdx": { "description": "Position index (optional, auto-detected if not provided)", "type": "string" }, "price": { "description": "Order price (for limit orders)", "type": "string" }, "qty": { "description": "Order quantity", "type": "string" }, "side": { "description": "Order side (Buy, Sell)", "type": "string" }, "symbol": { "description": "Symbol (e.g., ETHUSDT)", "type": "string" }, "timeInForce": { "description": "Time in force (GTC, IOC, FOK)", "type": "string" }, "trailingStop": { "description": "Trailing stop distance", "type": "string" } }, "required": [ "category", "symbol", "side", "orderType", "qty", "trailingStop" ], "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/kondisettyravi/mcp-bybit-node'

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