📌 Overview This Python-based trading bot monitors cryptocurrency markets on MEXC and ByBit exchanges, identifying trading opportunities using Donchian Channel breakout strategy. The system sends real-time notifications via Telegram and includes a user interface for interaction and management.
🌟 Features Multi-exchange support: Simultaneously monitors MEXC and ByBit exchanges Donchian Channel analysis: Identifies breakout opportunities with customizable parameters Telegram integration: Real-time alerts and interactive bot interface Payment system: Integrated payment processing for premium features Database backend: Stores user preferences, trade history, and analytics Customizable settings: Adjustable timeframes, channel periods, and risk parameters
🛠️ Technical Stack
- Language: Python 3.9+
- Exchanges: MEXC API, ByBit API
- Database: PostgreSQL/MySQL
- Telegram: python-telegram-bot
- Data analysis: pandas, TA-Lib
- Payment: Stripe/PayPal integration
The bot includes a comprehensive backtesting module that allows users to evaluate the Donchian Channel strategy performance on historical data before deploying it with real funds. The backtest engine features:
Multi-year historical data analysis for robust strategy validation
Detailed performance metrics including Sharpe ratio, max drawdown, and win rate
Walk-forward optimization to test strategy stability across different market conditions
Visual reporting with equity curves and trade-by-trade analysis