Freqtrade
Open-source Python bot. Backtesting, ML strategies, full control. Self-hosted.
Overview
Freqtrade is a free, open-source cryptocurrency trading bot written in Python. It enables users to develop custom trading strategies, backtest them against historical data, and deploy them for live or paper trading. The bot is self-hosted and runs on your own infrastructure, giving you complete control over your trading logic and data.
Freqtrade is one of the most mature open-source trading bots available, with an active community and regular updates. It includes FreqAI, an adaptive machine learning module that allows strategies to self-train and adapt to changing market conditions.
Key Features
- Custom Strategy Development: write strategies in Python with full flexibility
- FreqAI (Machine Learning): adaptive ML-based strategy optimization
- Comprehensive Backtesting: test strategies against historical data with detailed reports
- Hyperparameter Optimization: automated parameter tuning using Hyperopt
- Paper Trading (Dry Run): test strategies in real-time without risking capital
- Telegram/Web UI: manage and monitor the bot via Telegram bot or web interface
- Dynamic Whitelists: automatic token selection based on configurable filters
- Plotting Tools: visualize backtest results and trade performance
Supported Exchanges
Officially tested with Binance, Bybit, OKX, Kraken, Gate.io, BingX, Bitmart, and HTX. Based on CCXT library supporting 100+ exchanges.
Pricing
Freqtrade is completely free and open source under the GPL-3.0 license. No subscription fees, no trading fees, no hidden costs.
Installation
git clone https://github.com/freqtrade/freqtrade.git
cd freqtrade
./setup.sh # Linux/macOS
# or: pip install freqtrade
# or: docker pull freqtradeorg/freqtrade
Requires Python 3.11+ or Docker.
Bot Strategies
- Technical Analysis: strategies based on any combination of indicators
- Machine Learning (FreqAI): self-training adaptive strategies
- Custom Python Logic: unlimited flexibility with Python scripting
- Signal-Based: integrate with external signal sources
Community
- GitHub (18K+ stars)
- Discord
- Documentation

