A modular crypto trading framework for live trading and backtesting, powered by the Binance API.
It comes with built-in strategies such as RSI, MACD, and SMA crossover, plus risk management tools for safer trading.
- Live trading with Binance API (REST + WebSocket)
- Backtesting engine with performance metrics (PnL, Sharpe ratio, drawdowns)
- Risk management: position sizing, stop-loss, take-profit
- Modular strategy design – plug in your own algorithms easily
- Dockerized deployment for production-ready environments
git clone https://github.com/yourusername/QuantBench.git
cd QuantBenchEdit config.py and add your Binance API key and secret:
API_KEY = "your_api_key"
API_SECRET = "your_api_secret"pip install -r requirements.txtpython strategies/rsi_bot.pypython backtest.py- Subscribe to real-time candlestick data via WebSocket
- Run your chosen strategy (e.g., RSI > 70 → Sell, RSI < 30 → Buy)
- Apply risk rules (stop-loss, position sizing)
- Place orders via Binance REST API or simulate trades via backtesting
Planned improvements:
- Multi-exchange support (Kraken, Coinbase, etc.)
- Portfolio tracking dashboards
- More strategies (Bollinger Bands, VWAP, momentum-based)
- Enhanced backtester with historical tick-level data
- Machine learning–driven signal generation
This project is for educational purposes only. Trading cryptocurrencies involves significant risk. Use at your own discretion.
---
✅ Now your repo will show up as **QuantBench** instead of TradeFlow Bot, which sounds sharper and more professional.
Do you also want me to give you a **short GitHub "About" one-liner** for the right-hand description box that matches this new name?