Minimal crypto trading bot with modular strategies (Binance, Bybit, OKX, …)
A clean, modular, easy-to-extend trading bot for centralized crypto exchanges.
Currently supported exchanges (via ccxt):
Binance, Bybit, OKX, KuCoin, Gate.io, MEXC, Bitget
Built-in strategy templates:
- Grid trading (spot & futures)
- DCA / cost averaging
- RSI + momentum
- Breakout
- Funding-rate arbitrage helper
- Simple mean reversion
git clone https://github.com/yourusername/crypto-trading-bot-lightweight.git
cd crypto-trading-bot-lightweight
python -m venv venv
source venv/bin/activate # Linux/macOS
# venv\Scripts\activate # Windows
pip install -r requirements.txt├── config/ # yaml strategy & exchange configs
├── strategies/ # each strategy in separate file
├── core/
│ ├── exchange.py
│ ├── order_manager.py
│ └── risk.py
├── notifications/ # telegram, discord, email...
├── utils/
├── backtest/ # very basic pandas/vectorbt backtesting
├── .env.example
├── main.py
└── requirements.txt
cp .env.example .env
# ← edit .env with your API keys!
python main.py --strategy grid --symbol BTC/USDT