AI-powered crypto trading bot. 3-model ML consensus, Triple Barrier labeling, auto risk management. Supports Bybit, Bitget, Hyperliquid.
Project description
What is DeepAlpha Bot?
A fully autonomous crypto trading bot powered by a 3-model machine learning consensus. It trades 26 liquid USDT perpetual coins 24/7 on Bybit, Bitget, or Hyperliquid.
No manual trading. No chart watching. No emotional decisions. The AI handles everything.
Install in 10 seconds
pip install deepalpha-bot
Start in 5 minutes
# Step 1: Setup (creates config, gets 7-day free trial)
deepalpha-bot setup
# Step 2: Train models (~1-2 hours, one time)
deepalpha-bot train
# Step 3: Start trading
deepalpha-bot start
That's it. The bot runs 24/7 and sends you Telegram notifications for every trade.
How it works
Market Data (OHLCV, funding, OI)
|
Feature Engine (62 indicators → SHAP top-13)
|
3-Model Consensus Vote
├── LightGBM (primary)
├── XGBoost (ensemble)
└── Random Forest (ensemble)
|
Meta-Labeling Filter (removes low-confidence)
|
HMM Regime Gate (no counter-trend trades)
|
Risk Management
├── ATR dynamic stop-loss
├── Multi-target take-profit (33% / 33% / 34%)
├── Trailing stop (breakeven at +1.5%, lock at +3%)
└── Auto-Unstuck (graduated exit on loss)
|
Trade Execution (limit-first, IOC fallback)
|
Telegram Notification
Key features
- 3-model ML consensus: LightGBM + XGBoost + Random Forest vote together. Trade only when 2+ models agree.
- Triple Barrier labeling: Labels based on real trade outcomes (profit/stop/time), not arbitrary price direction.
- SHAP feature selection: 62 indicators pruned to 13 that actually predict. Recalculated every training cycle.
- Regime detection: HMM 3-state model (bull/bear/sideways). No longs in bear markets, no shorts in bull markets.
- Auto risk management: ATR-based stops, trailing take-profit, circuit breaker, daily loss limit, per-coin cooldown.
- 26 liquid coins: BTC, ETH, SOL, BNB, DOGE, AVAX, LINK, ARB, OP, APT, SUI, INJ, TIA, WLD, NEAR, AAVE, DOT, ADA, XRP, LTC, BCH, CRV, ONDO, ENA, JUP, RENDER.
- All major exchanges: Bybit (recommended), Bitget, Hyperliquid.
Configuration
After deepalpha-bot setup, edit config.json to adjust:
{
"MAX_POSITIONS": 3,
"LEVERAGE": 5,
"MAX_DAILY_LOSS": 200,
"MAX_RISK_PER_TRADE_PCT": 0.25,
"CIRCUIT_BREAKER_LOSSES": 5
}
| Setting | Default | Description |
|---|---|---|
| MAX_POSITIONS | 3 | Maximum simultaneous trades |
| LEVERAGE | 5 | Leverage per trade |
| MAX_DAILY_LOSS | 200 | Stop trading after $200 daily loss |
| MAX_RISK_PER_TRADE_PCT | 0.25 | Max 25% of equity per trade |
| CIRCUIT_BREAKER_LOSSES | 5 | Pause after 5 consecutive losses |
Pricing
| Plan | Price | Trial |
|---|---|---|
| Free Trial | $0 | 7 days, full features |
| Pro | $39/month | Cancel anytime |
| Lifetime | $199 one-time | Updates forever |
Start your free trial: deepalpha-bot setup
Buy a license: deepalphabot.com
Production deployment
For 24/7 trading, run on a VPS with PM2:
# Install PM2
npm install -g pm2
# Start bot
pm2 start "deepalpha-bot start" --name deepalpha
# Auto-restart on reboot
pm2 save && pm2 startup
Commands
| Command | Description |
|---|---|
deepalpha-bot setup |
Interactive setup + free trial |
deepalpha-bot train |
Train AI models |
deepalpha-bot start |
Start live trading |
deepalpha-bot status |
Check equity and positions |
deepalpha-bot version |
Show version |
Also available
- FreqAI Plugin (free):
pip install deepalpha-freqai— use DeepAlpha inside Freqtrade - Copy Trading (free): Copy our trades on Bybit — zero setup required
- Website: deepalphabot.com
Disclaimer
Trading involves significant risk of loss. Past performance does not guarantee future results. This software is provided as-is. Only trade with capital you can afford to lose entirely. Not financial advice.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deepalpha_bot-1.0.0.tar.gz.
File metadata
- Download URL: deepalpha_bot-1.0.0.tar.gz
- Upload date:
- Size: 108.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec85c4c058ce6676794dc6f8923e8166ec5bdbdb199ccd8f9ebf675c986ead9a
|
|
| MD5 |
8ec61ea94d6fcc4f78479d6f774242c2
|
|
| BLAKE2b-256 |
18abd0428aa2a75f8f865401355e1ef476a2df961273fea5f664965b1ccdba40
|
File details
Details for the file deepalpha_bot-1.0.0-py3-none-any.whl.
File metadata
- Download URL: deepalpha_bot-1.0.0-py3-none-any.whl
- Upload date:
- Size: 110.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfc3fc8cd89b52e52716d75cb7a08a7792b870e3ca52d98550051397257d0739
|
|
| MD5 |
42c87cf43c8688c1c889570d0496de0c
|
|
| BLAKE2b-256 |
82a3b55502427752f5e7426f38447e9fd5de4460dca5d78e7ae194ab8761980a
|