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.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Fetch the order book for a specific trading pair. Parameters: category (string), symbol (string), limit (optional integer).
Retrieve candlestick data for a specific trading pair. Parameters: category (string), symbol (string), interval (string), start (optional string), end (optional string), limit (optional integer).
Get ticker information for a specific trading pair. Parameters: category (string), symbol (string).
Retrieve recent public trades for a specific trading pair. Parameters: category (string), symbol (string), limit (optional integer).
Fetch metadata and limits for a specific trading instrument. Parameters: category (string), symbol (string), status (optional string), baseCoin (optional string).
Get the funding rate history for perpetual contracts. Parameters: category (string), symbol (string), startTime (optional string), endTime (optional string), limit (optional integer).
Retrieve open interest data over time for a specific trading pair. Parameters: category (string), symbol (string), intervalTime (optional string).
Get the maker and taker fee rates for a specific trading pair. Parameters: category (string), symbol (optional string), baseCoin (optional string).
Fetch the current server time from Bybit.
Get a composite market view including order book, ticker, candlestick data, instrument info, recent trades, funding rates, and open interest in a single call.
Retrieve the balance for a specific account type and coin. Parameters: accountType (string), coin (optional string).
Fetch open positions for a specific trading pair. Parameters: category (string), symbol (optional string).
Retrieve historical orders.
Fetch current open orders.
Get details about the API key.
Pre-flight validation of an order without placing it. Not blocked by trading flags.
Place an order. Supports dry_run=true to validate without executing the order.
Modify an existing order in place.
Cancel a single order.
Cancel all open orders, optionally scoped.
Set take profit, stop loss, or trailing stop for an order.
Set the margin mode to either isolated or cross.
Set the leverage for a specific futures symbol.