Website · Dashboard · Telegram Bot · Discord · Channel
The easiest way to start. Bot runs 24/7 on our servers.
| ✅ No VPS, no Docker, no Python | ✅ 12 exchanges supported |
| ✅ Start in Paper Mode (zero risk) | ✅ Real-time dashboard |
| ✅ Pump scanner included | ✅ TradingView webhooks |
| ✅ Exchange-side stop-loss | ✅ Telegram bot control |
No credit card required. Start in Paper Mode — switch to Live when ready.
For developers who want to customize the code.
git clone https://github.com/stefanoviana/deepalpha.git
cd deepalpha
pip install -r requirements.txt
cp .env.example .env # add your API keys
python deepalpha.pySupports 12 exchanges: Bybit, Binance, OKX, Gate.io, KuCoin, Bitget, HTX, MEXC, BingX, Phemex, BitMart, WhiteBIT
The self-hosted version includes training scripts but does NOT include pre-trained models. You have two options:
This requires a machine with 8GB+ RAM and takes several hours. Your model accuracy will depend on data quality and training parameters.
Our production models achieve 70.9% walk-forward validated accuracy after months of optimization with:
- 72 engineered features
- 12 months of training data
- Optuna hyperparameter tuning (200+ trials)
- 4-window walk-forward validation
- Continuous weekly retraining
These models are exclusive to Cloud Pro users and are the same models powering our live trading (verified +05 PnL this week).
Get Pre-Trained Models — 7 Days Free →
No credit card required. Includes models + dashboard + pump scanner + exchange stop-losses.
The self-hosted version includes training scripts but does NOT include pre-trained models. You have two options:
python download_data.py # Download historical data from Bybit
python train.py # Train XGBoost + LightGBM models (~2-4 hours)This requires 8GB+ RAM and takes several hours. Your accuracy depends on data quality and parameters.
Our production models achieve 84.6% walk-forward validated accuracy after months of optimization:
- 72 engineered features
- 12 months of curated training data
- Optuna hyperparameter tuning (200+ trials)
- 4-window walk-forward validation
- Weekly retraining with fresh market data
These models are exclusive to Cloud Pro users — the same models powering our live trading.
Get Pre-Trained Models — 7 Days Free (no credit card)
| Feature | Cloud (Pro) | Self-Hosted (Free) |
|---|---|---|
| Setup time | 30 seconds | 30+ minutes |
| AI Bot | ✅ 24/7 managed | ✅ You manage |
| Pump Scanner | ✅ Included | ✅ Included |
| Dashboard | ✅ Web + Mobile | ❌ CLI only |
| Telegram Bot | ✅ Full control | ❌ |
| TradingView Webhooks | ✅ | ❌ |
| Auto-restart on crash | ✅ | ❌ |
| Exchange-side SL | ✅ | ❌ |
| Paper Mode | ✅ | ❌ |
| Price | $39/mo (7 days free) | Free forever |
Cloud-hosted. No installation. No VPS. No coding. The AI trades 24/7 for you.
Manage everything from Telegram with @DeepAlphaVault_bot:
| Command | What it does |
|---|---|
/start |
Welcome & account status |
/login |
Link your DeepAlpha account |
/start_bot |
Start AI / Grid / DCA Bot |
/stop_bot |
Stop bot |
/status |
Open positions & PnL |
/balance |
Exchange balance |
/pnl |
PnL summary |
/trades |
Recent trades |
/keys |
Setup exchange API keys |
Start/stop bots, check positions, get real-time trade notifications — all from Telegram. Open Bot →
The built-in pump scanner monitors 500+ coins in real-time for volume spikes and automatically trades the pump.
How it works:
- Scans all coins every 2 minutes for volume spikes (5x+ above average)
- Opens a LONG position automatically when pump detected
- Takes profit in 3 tiers: TP1 (+5%), TP2 (+10%), TP3 (+20%)
- Trailing stop locks in gains after TP1
- Stop loss at -3% for protection
Recent results:
- ZEREBRO: +$33 (+7.7%) in 72 minutes
- B Token: +$66 (+12.7%) in 2 minutes
The pump scanner runs automatically alongside the AI Bot. No extra configuration needed.
DeepAlpha is an open-source ML trading system that predicts crypto price direction on 18 exchanges including Bybit, Binance, OKX, Gate.io, KuCoin, Bitget, HTX, MEXC, BingX, Phemex, BitMart, and WhiteBIT. It uses 72 engineered features from L2 orderbook data, funding rates, and market microstructure signals.
The core model achieves 84.6% directional accuracy on walk-forward validated out-of-sample data.
| Feature | Free (GitHub) | Pro $39/mo | Lifetime $199 |
|---|---|---|---|
| AI Model (LightGBM) | Train yourself | ✅ Pre-trained (84.6%) | ✅ Pre-trained |
| XGBoost + RF Ensemble | ❌ | ✅ | ✅ |
| Grid Bot (range trading) | ❌ | ✅ 5 strategies | ✅ 5 strategies |
| DCA Bot (safety orders) | ❌ | ✅ 5 strategies | ✅ 5 strategies |
| Pump Scanner (500+ coins) | ❌ | ✅ Auto | ✅ Auto |
| Features | 15 basic | 78 (V11 full) | 78 (V11 full) |
| TFT + TransformerGRU | ❌ | ✅ | ✅ |
| HMM Regime Detection | ❌ | ✅ | ✅ |
| Cloud Dashboard | ❌ | ✅ Real-time | ✅ Real-time |
| Telegram Bot Control | ❌ | ✅ @DeepAlphaVault_bot | ✅ |
| Auto Retraining (daily) | ❌ | ✅ | ✅ |
| Auto Restart & Monitoring | ❌ | ✅ 24/7 | ✅ 24/7 |
| 12 Exchange Support | Manual setup | ✅ 1-click | ✅ 1-click |
| VPS Required | ✅ ($20-50/mo) | ❌ Cloud hosted | ❌ Cloud hosted |
| Source Code | View only | ❌ | ✅ Full download |
| Support | GitHub Issues | Discord | Direct Developer |
The free version requires you to:
- Set up your own VPS ($20-50/month)
- Train the ML model yourself (hours of compute)
- Monitor and restart the bot manually
- Handle updates, crashes, and maintenance
The cloud version gives you everything ready in 2 minutes:
- Pre-trained AI model with 84.6% accuracy
- Grid Bot + DCA Bot + 10 pre-built strategies
- Manage from Telegram (@DeepAlphaVault_bot)
- Auto-restart, daily retraining, 24/7 monitoring
- No VPS, no installation, no maintenance
The VPS alone costs $20-50/month — our Pro plan is $39/month with everything included.
Market Data (Bybit / Binance API via ccxt)
↓
Feature Engineering (RSI, ATR, EMA, Momentum, Volume)
↓
LightGBM Model (trained on 1M+ samples)
↓
Signal Generation (LONG/SHORT with confidence %)
↓
Risk Management (position sizing, stop-loss, max positions)
↓
Trade Execution (Bybit / Binance API via ccxt)
V11.1 (April 2026) — Liquidation map + pump scanner:
- Liquidation level estimator — detects where stop-loss clusters are, optimizes TP/SL placement
- Pump scanner — real-time detection of volume spikes and new listings on Bybit + Binance
- Binance cross-exchange alerts — detects Binance listings that pump on Bybit
V11.0 (April 2026) — Major accuracy upgrade:
- 72 features (10 new: Hurst exponent, VPIN, volatility regime, fractal efficiency, multi-timeframe alignment)
- 84.6% walk-forward validated accuracy (up from 60%)
- TFT (Temporal Fusion Transformer) + TransformerGRU neural models
- HMM 3-state regime detection (bull/bear/sideways)
- Dynamic ATR-based TP/SL with multi-target take profit
- Cloud dashboard with backtest and live signals
- Daily LSTM auto-retraining
DeepAlpha uses a LightGBM gradient boosting model trained on historical crypto data with walk-forward validation.
Training Pipeline:
- Download 1 year of hourly candles for 20 coins
- Compute 15 technical features (RSI, ATR, EMA, momentum, etc.)
- Generate labels: does price move significantly in the next hour?
- Split data chronologically: 70% train, 15% validation, 15% test
- Train with early stopping to prevent overfitting
- Evaluate on test set (never seen during training)
Key Design Decisions:
- Walk-forward validation (not random split) — prevents overfitting
- Conservative features — only battle-tested technical indicators
- Early stopping — model stops training when validation loss increases
- Symmetric labels — model predicts both up and down moves
The Pro version adds XGBoost ensemble, PPO reinforcement learning, 50 features, and ATR-based prediction targets.
| Metric | Value |
|---|---|
| Weekly ROI | +25.7% |
| AI Accuracy | 84.9% (walk-forward validated) |
| Profit/Loss Ratio | 2.61:1 |
| Sharpe Ratio | 1.27 |
| AI-Trained Coins | 25 |
| Avg Holding Time | 5.58 hours |
Deep neural network (BiLSTM + Attention) trained on GPU across 25 cryptocurrency pairs.
Windows: double-click setup.bat
Mac/Linux: run bash setup.sh
The setup wizard asks for your license key and exchange API keys (Bybit, Binance, or Bitget), then starts trading automatically. The AI model is downloaded from our server — no training needed.
git clone https://github.com/stefanoviana/deepalpha.git
cd deepalpha
pip install -r requirements.txt
cp .env.example .env # edit with your keys
python deepalpha.py # start tradinggit clone https://github.com/stefanoviana/deepalpha.git
cd deepalpha
cp .env.example .env # edit with your keys
docker compose up -d deepalphapython download_data.py # download historical data
python train.py # train model (~5 min)
python deepalpha.py # start tradingDeepAlpha combines multiple strategies for maximum edge:
XGBoost + LightGBM ensemble predicts price direction with 84.6% accuracy using 72 features from L2 orderbook data, funding rates, and market microstructure.
Hidden Markov Model identifies bull/bear/sideways regimes. The bot adapts: wider TP in bull, tighter SL in bear, reduced activity in sideways.
Estimates where stop-loss clusters are based on open interest and leverage distribution. Uses liquidation zones to:
- Place TP before liquidation cascades (take profit before bounce)
- Place SL beyond danger zones (avoid getting caught in cascades)
- Boost confidence when liquidation cascades favor our direction
Real-time detection of volume spikes and new listings across Bybit and Binance. Auto-enters pumps with tight risk management (5% equity, 2h max hold).
- T1 (0.8x ATR): Close 33% — lock some profit early
- T2 (1.3x ATR): Close 33% — let winner run
- Trailing: ATR-based trailing stop on remaining 34%
Graduated exit when trade goes wrong: -2% close 25%, -3% close 25%, -4% close 25%, -5% hard cap close all.
python deepalpha.py # Start AI trading bot
python pump_scanner.py # Start pump scanner (standalone)Real-time pump detection system that monitors all 500+ Bybit USDT perpetual pairs every 3 seconds.
- Volume spikes: 5x+ normal volume in a single candle
- Price momentum: +3% move with 3+ consecutive green candles
- New listings: Monitors Bybit announcements API for new perpetual contracts
- Dump exhaustion: RSI > 80 + volume decline for short entries
- Detects pump signal (volume + price + RSI + buy ratio confirmation)
- Opens long with 5x leverage, ATR-based stop loss
- TP cascade: TP1 (+5%) close 40% | TP2 (+10%) close 30% + trailing | TP3 (+20%) close rest
- Circuit breaker: stops after -$50 daily loss
# 1. Add to your .env file:
BYBIT_API_KEY=your_api_key
BYBIT_API_SECRET=your_api_secret
# 2. Optional: Telegram alerts
TELEGRAM_TOKEN=your_bot_token
TELEGRAM_CHAT_ID=your_chat_id
# 3. Run standalone:
pip install ccxt numpy requests python-dotenv
python pump_scanner.pySee pump_config_example.env for all tunable parameters:
- Detection thresholds (volume multiplier, price spike %, RSI range)
- Position sizing (leverage, risk budget, max positions)
- TP/SL levels (ATR-based SL, cascade TP at 5%/10%/20%)
- Fakeout filters (consecutive candles, buy ratio, minimum volume)
docker compose up -d pump-scannerfrom pump_scanner import create_pump_scanner_from_config
scanner = create_pump_scanner_from_config()
if scanner:
scanner.start() # runs in background threadExecute your TradingView alerts automatically on any supported exchange. No coding needed.
- Get your webhook key from the Dashboard
- In TradingView, create an alert and set the webhook URL:
https://deepalphabot.com/api/webhook/tradingview - Set the alert message (JSON):
{ "action": "buy", "symbol": "BTC", "qty": 0.01, "key": "your_webhook_key" }
| Action | Description |
|---|---|
buy |
Open long / buy market order |
sell |
Open short / sell market order |
close |
Close entire position |
Set qty to 0 and DeepAlpha will automatically size the position (5% of equity at 5x leverage).
Bybit, Binance, OKX, Gate.io, KuCoin, Bitget, HTX, MEXC, BingX, Phemex, BitMart, WhiteBIT — same webhook URL, trades on whichever exchange you connected.
deepalpha/
├── deepalpha.py # Main AI trading bot
├── pump_scanner.py # Real-time pump detection (standalone)
├── exchange_adapter.py # Multi-exchange adapter layer
├── train.py # AI training pipeline
├── download_data.py # Data downloader
├── features.py # Feature engineering (72 features)
├── risk_manager.py # Position sizing & risk
├── config.py # Configuration
├── pump_config_example.env # Pump scanner config template
└── requirements.txt # Dependencies
The DeepAlpha Cloud Platform includes additional features not available in the open-source version:
| Feature | Open Source | Cloud Platform |
|---|---|---|
| AI Trading Bot | ✅ | ✅ |
| Backtesting | ✅ | ✅ Enhanced |
| Grid Trading Bot | ❌ | ✅ 5 strategies |
| DCA Bot + Safety Orders | ❌ | ✅ 5 strategies |
| 12 Exchange Support | Bybit only | ✅ All 12 |
| Real-time Dashboard | ❌ | ✅ |
| TradingView Webhooks | ❌ | ✅ |
| Auto-restart | ❌ | ✅ |
| Telegram Alerts | Basic | ✅ Advanced |
Try free for 7 days — no credit card required: deepalphabot.com
- Live AI signals — see every prediction in real-time
- Auto-trading — connect your Bybit or Binance API, the bot trades for you
- Grid Bot — 5 pre-built grid strategies for range-bound markets
- DCA Bot — dollar-cost averaging with safety orders for volatile markets
- Backtest viewer — test the AI on historical data with custom parameters
- Equity curve — track your portfolio performance over time
- Trade history — every trade logged with PnL and exit reason
- Email alerts — welcome sequence + trial expiry notifications
- Register at deepalphabot.com/cloud (7-day free trial)
- Connect your exchange API keys (Bybit, Binance, Bitget — read-only supported)
- Configure risk settings (leverage, max positions, confidence threshold)
- The AI trades automatically — check your dashboard anytime
- API keys encrypted with AES-256 Fernet encryption
- Read-only API supported — the bot can trade but never withdraw
- Keys stored only on our server, never shared
- SSL/TLS 1.3 + HSTS on all connections
- Backend: FastAPI + PostgreSQL + JWT auth
- AI Engine: Same V11 models as self-hosted (LightGBM + XGBoost + TFT)
- Hosting: Dedicated VPS with PM2 process management
- Email: Resend transactional email service
| Plan | Price | Features |
|---|---|---|
| Free Trial | $0 for 7 days | Full access, no credit card |
| Pro | $39/month | Auto-trading + dashboard + signals |
| Lifetime | $199 one-time | Everything forever + source code |
Already using Freqtrade? Use DeepAlpha's ML pipeline as a FreqAI plugin.
cp freqai-plugin/deepalpha_model.py your_freqtrade/freqai/prediction_models/Features:
- Triple Barrier Labeling (84.6% accuracy vs ~55-60% standard FreqAI)
- SHAP Feature Selection (auto-removes noise features)
- Meta-Labeling (filters bad trades)
- Walk-Forward CV with 24h embargo
See freqai-plugin/README.md for setup guide.
DeepAlpha supports multiple exchanges via the ccxt library. Switch exchanges with a single env var.
| Exchange | Type | Status | Markets |
|---|---|---|---|
| Bybit | USDT Perpetual | Supported | 3,200+ |
| Binance | USDT-M Futures | Supported | 4,300+ |
| OKX | USDT Perpetual | Supported | 3,000+ |
| Gate.io | USDT Perpetual | Supported | 6,300+ |
| KuCoin | USDT Perpetual | Supported | 1,600+ |
| Bitget | USDT-M Futures | Supported | 1,300+ |
| HTX | USDT Perpetual | Supported | 900+ |
| MEXC | USDT Perpetual | Supported | 2,400+ |
| BingX | USDT Perpetual | Supported | 800+ |
| Phemex | USDT Perpetual | Supported | 300+ |
| BitMart | USDT Perpetual | Supported | 400+ |
| WhiteBIT | USDT Perpetual | Supported | 200+ |
EXCHANGE=bybit
BYBIT_API_KEY=your_api_key
BYBIT_API_SECRET=your_api_secret
BYBIT_TESTNET=false
LEVERAGE=5
MAX_POSITIONS=5
TELEGRAM_TOKEN=your_bot_token # optional
TELEGRAM_CHAT_ID=your_chat_id # optionalEXCHANGE=binance
BINANCE_API_KEY=your_api_key
BINANCE_API_SECRET=your_api_secret
BINANCE_TESTNET=false
LEVERAGE=5
MAX_POSITIONS=5EXCHANGE=okx
OKX_API_KEY=your_api_key
OKX_API_SECRET=your_api_secret
OKX_PASSPHRASE=your_passphrase
LEVERAGE=5
MAX_POSITIONS=5EXCHANGE=gateio
GATEIO_API_KEY=your_api_key
GATEIO_API_SECRET=your_api_secret
LEVERAGE=5
MAX_POSITIONS=5EXCHANGE=kucoin
KUCOIN_API_KEY=your_api_key
KUCOIN_API_SECRET=your_api_secret
KUCOIN_PASSPHRASE=your_passphrase
LEVERAGE=5
MAX_POSITIONS=5EXCHANGE=bitget
BITGET_API_KEY=your_api_key
BITGET_SECRET=your_api_secret
BITGET_PASSPHRASE=your_passphrase
LEVERAGE=5
MAX_POSITIONS=5- Leverage: 5x (configurable, max 10x)
- Position size: 5% of equity per trade
- Stop-loss: Fixed 1.5% from entry
- Take-profit: 3% from entry (2:1 R:R minimum)
- Max positions: 3 simultaneous
- Daily loss limit: 5% of equity
- Circuit breaker: Pauses after 3 consecutive losses
Walk-forward validated results (V11 model, out-of-sample):
| Metric | Value |
|---|---|
| Directional Accuracy | 84.6% |
| Profit Factor | 2.91 |
| Max Drawdown | 20.7% |
| Sharpe Ratio | 0.97 |
| Avg Win / Avg Loss | 4.6:1 |
Methodology: Walk-forward validation with expanding window and 24h embargo between train/test. All metrics are on strictly out-of-sample data, never seen during training.
| Model | Accuracy | Role |
|---|---|---|
| LightGBM | 84.6% | Primary |
| XGBoost | 70.8% | Ensemble |
| Random Forest | 69.3% | Ensemble |
| TransformerGRU | 65.8% | Neural |
| TFT | 63.7% | Neural |
72 features including: L2 orderbook proxies, funding rate momentum, cross-asset correlation, volatility regime detection, Hurst exponent, VPIN, multi-timeframe alignment.
Having issues? Here are the most common problems and how to fix them.
[ERROR] Missing dependencies: lightgbm, ccxt
Fix: Install all required packages:
pip install -r requirements.txtIf you get permission errors, use pip install --user -r requirements.txt or a virtual environment:
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
pip install -r requirements.txt[ERROR] No .env file found in current directory.
Fix: Copy the example and fill in your API keys:
cp .env.example .env
nano .env # or any text editorYou need at minimum:
EXCHANGE=bybit(or binance, okx, bitget, etc.)- The matching API key + secret for your exchange
[ERROR] Model not found at model_1h.pkl
Fix: You need a trained ML model. Two options:
- Train your own (free):
python download_data.py # download historical data python train.py # train model (~5 min)
- Use the cloud (no model needed): deepalphabot.com - 7-day free trial
AuthenticationError: Invalid API key
Fix:
- Double-check your API key and secret in
.env(no extra spaces or quotes) - Make sure the API key has trading permissions enabled
- For Bybit: enable "Contract - Trade" permission
- For Binance: enable "Futures" permission and whitelist your IP
- For Bitget/OKX/KuCoin: make sure you also set the passphrase
ValueError: Unsupported exchange: xxx
Fix: Set EXCHANGE in your .env to one of the supported values:
bybit, binance, okx, bitget, gateio, kucoin, htx, mexc, bingx, phemex, bitmart, whitebit, hyperliquid
The bot waits 30 seconds before exiting after a crash to prevent restart-loop spam (PM2, Docker, systemd). Check the error message above the crash for the root cause.
- Setup guide: deepalphabot.com/setup-guide
- Telegram support: @DeepAlphaVault_bot
- Discord: discord.gg/P4yX686m
- GitHub Issues: github.com/stefanoviana/deepalpha/issues
Or just use the cloud version — no installation, no setup, no crashes: deepalphabot.com
Trading involves significant risk of loss. This software is provided as-is, with no guarantees of profitability. Past backtest performance does not indicate future results. The performance metrics above are from historical backtests and may not reflect live trading conditions. Only trade with money you can afford to lose.
We welcome contributions! Whether it's new features, bug fixes, documentation, or exchange adapters — every PR helps.
- Read the Contributing Guide
- Check open issues for ideas
- Fork, branch, code, and submit a PR
High-impact areas: new technical indicators, exchange adapters (dYdX, OKX), tests, and documentation.
- Discord — General discussion, help, feature ideas
- Telegram — Announcements and trade signals
- Blog — Technical deep dives on the architecture
- Docs — Full documentation (coming soon)
MIT License — see LICENSE
- Crypto Pump Scanner — Real-time pump detection for Bybit. Monitors 500+ pairs, auto-trades volume spikes. Standalone or integrated.
- FreqAI — Use DeepAlpha's ML pipeline as a drop-in FreqAI prediction model. See freqai-plugin/ for setup.
- Binance Futures — Full support for Binance USDT-M perpetual futures via ccxt.
- Telegram — Real-time trade alerts and portfolio updates via bot.
- Discord Server
- Telegram Channel
- Blog: How I Built DeepAlpha
- Documentation
- DeepAlpha Pro — 3 strategies, ensemble model, 50 features, PPO agent, ATR stops
- Best AI Crypto Trading Bot 2026
- Bybit Trading Bot Free Trial
- Automated Crypto Trading for Beginners
- TradingView Webhook Crypto Bot Setup
- How to Use AI for Crypto Trading