MCP Bybit Server provides a bridge to the Bybit cryptocurrency exchange API, enabling AI assistants to perform market data retrieval, account management, and order execution operations. Developed by Dana K. Williams, this Python implementation offers a comprehensive set of tools for interacting with Bybit's Unified Trading API v5, including functions for retrieving orderbooks, candlestick data, wallet balances, and placing/managing orders across spot and futures markets. The server requires Bybit API credentials and can be deployed as a Docker container, making it particularly useful for algorithmic trading, market analysis, and portfolio management applications.
Nessuna recensione ancora. Sii il primo a recensire!
Accedi per unirti alla conversazione
Fetches the order book for a specified category and symbol. Parameters: category (string), symbol (string), limit (optional integer)
Fetches candlestick data for a specified category and symbol. Parameters: category (string), symbol (string), interval (string), start (optional integer), end (optional integer), limit (optional integer)
Retrieves ticker information for a specified category and symbol. Parameters: category (string), symbol (string)
Fetches recent public trades for a specified category and symbol. Parameters: category (string), symbol (string), limit (optional integer)
Retrieves instrument metadata and limits for a specified category and symbol. Parameters: category (string), symbol (string), status (optional string), baseCoin (optional string)
Fetches funding rate history for perpetual contracts. Parameters: category (string), symbol (string), startTime (optional integer), endTime (optional integer), limit (optional integer)
Fetches open interest over time for a specified category and symbol. Parameters: category (string), symbol (string), intervalTime (optional string)
Retrieves maker/taker fee rates for a specified category and symbol. Parameters: category (string), symbol (optional string), baseCoin (optional string)
Retrieves the current server time from Bybit.
Fetches a composite market view including order book, ticker, kline, instrument, recent trades, funding rate, and open interest in a single call.
Retrieves wallet balances. Parameters: accountType (string), coin (optional string)
Fetches open positions for a specified category and symbol. Parameters: category (string), symbol (optional string)
Retrieves historical orders.
Fetches current open orders.
Retrieves details about the API key.
Performs pre-flight validation of an order without placing it.
Places an order. Supports dry_run parameter to validate without placing.
Modifies an existing order in place.
Cancels a single order.
Cancels all open orders, optionally scoped.
Sets take profit, stop loss, or trailing stop.
Sets the margin mode to isolated or cross.
Sets the leverage for a specified futures symbol.