Back to Projects
Crypto

Crypto

AI-Powered Cryptocurrency Trading Bot with Advanced Machine Learning - A sophisticated Python-based trading system featuring ensemble ML models, real-time market analysis, professional-grade technical indicators, and adaptive learning capabilities. Simulates trading with a virtual £5000 GBP account across 8 major cryptocurrencies, achieving performance optimisation through hierarchical reasoning, sentiment analysis, and dynamic risk management.

Active

Technologies Used

Python CCXT Pandas NumPy Scikit-learn Textual Sqlite

Categories

About This Project

This is a professional-grade cryptocurrency trading bot that combines traditional technical analysis with cutting-edge machine learning to simulate automated trading strategies. Built entirely in Python, the system provides a comprehensive trading education platform while demonstrating advanced concepts in quantitative finance, machine learning, and real-time data processing.

Key Features

🤖 Advanced Machine Learning System

  • Ensemble Models: Random Forest for direction prediction, Gradient Boosting for magnitude estimation, and dedicated risk assessment models
  • Market Regime Detection: Automatically identifies bullish/bearish/ranging markets with volatility analysis
  • Hierarchical Reasoning Module (HRM): Multi-level decision-making framework that analyzes technical, fundamental, and sentiment factors
  • Adaptive Learning: Continuously improves from trade history, achieving expected win rates of 45-55% (up from initial 8.1%)
  • 30+ Technical Features: Comprehensive feature engineering for pattern recognition

📊 Professional Trading Features

  • News Sentiment Analysis: Real-time crypto news aggregation with sentiment scoring
  • Whale Activity Monitoring: Tracks large transactions and accumulation patterns
  • Multi-Timeframe Analysis: Analyzes trends across 5-minute, 15-minute, 1-hour, and 4-hour charts
  • AI Agent Consultants: Specialized developer and trader agents providing expert advice

💹 Multiple Trading Strategies

  • Conservative Mode: Low-risk approach with 60-second intervals
  • Aggressive Mode: High-frequency trading with 15-second intervals
  • Scalping Mode: Ultra-fast trades (5-second intervals, 3% profit targets)
  • Day Trading Suite: Grid trading, DCA/Martingale, and momentum scalping strategies

📈 Technical Analysis Arsenal

  • RSI (Relative Strength Index) with dynamic thresholds
  • MACD (Moving Average Convergence Divergence)
  • Bollinger Bands for volatility assessment
  • Multiple moving average strategies (SMA/EMA)
  • Volume analysis and confirmation signals
  • Support/resistance detection

🎯 Risk Management

  • Kelly Criterion Position Sizing: Mathematically optimized bet sizing
  • Dynamic Stop Loss/Take Profit: ML-optimized exit parameters
  • Trailing Stops: Automated profit protection
  • Maximum Drawdown Protection: Limits exposure during adverse market conditions
  • Sharpe Ratio Monitoring: Risk-adjusted performance tracking

🖥️ Multiple User Interfaces

  • Textual Terminal UI: Modern, flicker-free dashboard with live ticker
  • Web Dashboard: Real-time visualization using Plotly/Dash (port 8050)
  • Classic Menu: Traditional command-line interface
  • Educational Dashboard: Learning-focused analytics and explanations

📊 Performance Tracking

  • Comprehensive SQLite database for trade history
  • Win rate, profit factor, and risk metrics
  • Per-strategy and per-symbol performance breakdown
  • Real-time P&L monitoring
  • Maximum drawdown analysis

Please be aware this is just an experimental project and use at your own risk when trading