\\�ash python app/main.py \\
- Open browser: \http://localhost:8000\
- View API: \http://localhost:8000/api/status\
- Check logs: \logs/bot.log\
\\yaml
mode: live # 'paper' = simulation, 'live' = real trading
strategies:
- name: bollinger_mean_reversion leverage: 30 position_size: 0.01 # 1% of account (initial phase)
symbols:
- BNB/USDT
- XRP/USDT
max_day_loss: 5.0 # Max 5% daily loss max_open_trades: 2 # Max 2 concurrent positions poll_seconds: 10 # Data fetch interval
phase: live # 'live' = live deployment \\
\
crypto-bot/
app/
main.py # Bot entry point
config/
app.yaml # Strategy configuration
core/
strategies/
bollinger_mean_reversion.py # Main strategy (ONLY)
executor/
paper.py # Paper trading executor
live.py # Live trading executor
exchange/
delta.py # Delta Exchange client
utils/
loader.py # Strategy loader
indicators.py # Technical indicators
telegram_bot.py # Telegram integration
notebooks/ # (removed for live deployment)
runtime/
runner.py # Bot runner (SINGLE STRATEGY)
logs/
bot.log # Trading logs
README.md # This file
requirements.txt # Dependencies
.env # API credentials (local only)
\\
\\�ash
pip install -r requirements.txt
TELEGRAM_TOKEN=your_token TELEGRAM_CHAT_ID=your_chat_id
python app/main.py \\
\\�ash docker build -t crypto-bot . docker run -e MODE=paper -p 8000:8000 crypto-bot \\
Created: December 2024 Version: 1.0 Last Updated: December 11, 2025