skillfed

freqtrade

Freqtrade - Crypto Trading Bot

freqtrade v2026.7 75.2K downloads/30d#14,746 on PyPI53,279
Copyleft license GPLv3 Active released

What it is and what it does

Freqtrade is an open-source trading automation framework for cryptocurrency markets. It connects to major spot and futures exchanges via ccxt, executes buy/sell strategies defined in Python, and provides backtesting and hyperparameter optimization to refine those strategies before risking real capital. The bot can be controlled remotely via Telegram or a built-in web UI, stores trade history in SQLite, and includes tools for data download, visualization, and performance analysis.

The package is designed for developers and traders with Python knowledge who want to automate trading logic without building exchange connectivity from scratch. It emphasizes dry-run testing and backtesting as prerequisites to live trading, and includes adaptive machine learning capabilities for strategies that self-train to market conditions. The large dependency footprint reflects its breadth: technical analysis (TA-Lib, ft-pandas-ta), numerical computing (numpy, scipy), web serving (fastapi), and data serialization (orjson, pyarrow).

Use it for:

  • Backtest a trading strategy against historical data before deploying it live on an exchange.
  • Optimize strategy parameters using machine learning to find better entry/exit signals.
  • Run a live trading bot on a schedule, receiving Telegram alerts and controlling it remotely.
  • Analyze trade performance and generate profit/loss reports in fiat currency.
  • Download and convert market data from multiple exchanges for research.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Freqtrade is a Python-based cryptocurrency trading bot that automates trading across major exchanges, with backtesting, strategy optimization via machine learning, and control via Telegram or web UI.

Yes, if you have Python knowledge and want to automate crypto trading with backtesting and optimization. Active maintenance, low install friction, and zero known vulnerabilities make it a solid choice. The GPLv3 copyleft license restricts commercial redistribution, and the project's own disclaimer emphasizes educational use—do not deploy without understanding the strategy and starting in dry-run mode. The 45 dependencies add complexity; verify your use case doesn't require all of them.

Install

freqtrade on PyPI

pip

pip install freqtrade

uv

uv add freqtrade

poetry

poetry add freqtrade

Installing freqtrade

Before you install

Low install friction with a pure-wheel distribution. Active maintenance with a recent release and strong community engagement. Requires Python 3.11 or later and brings 45 runtime dependencies including data science, exchange connectivity, and web frameworks.

License in practice

GPLv3 copyleft license means any derivative work or distribution must also be open source under GPLv3. Commercial use is permitted but modifications must be shared under the same license.

Quickstart

pip install freqtrade
freqtrade create-userdir
freqtrade new-config
freqtrade trade --config user_data/config.json

Requires Python 3.11+. Real trading requires exchange API credentials and careful configuration; the project strongly recommends starting with dry-run mode and backtesting before risking actual funds.

Verify before relying

  • Whether the 45 runtime dependencies are all required for basic trading or if some are optional for specific features like machine learning or web UI.
  • Performance characteristics and memory footprint when running live trading with multiple pairs or high-frequency strategies.
  • Specific exchange API rate limits and whether the bot handles them gracefully.

Package facts

License GPLv3 (copyleft)
Python support supports the current Python release (>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 45 — ccxt, SQLAlchemy, python-telegram-bot, humanize, cachetools, requests, httpx, urllib3, certifi, jsonschema, scipy, numpy, pandas, bottleneck, numexpr, TA-Lib, ft-pandas-ta, technical, tabulate, pycoingecko, python-rapidjson, orjson, jinja2, questionary, prompt-toolkit, joblib, rich, pyarrow, fastapi, pydantic
Maintenance actively maintained — 14 days since the last release
Last repo commit
First released
Downloads 75,170/month — #14,746 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: freqtrade-2026.7-py3-none-any.whl

Environment :: ConsoleIntended Audience :: Science/ResearchLicense :: OSI Approved :: GNU General Public License v3 (GPLv3)Operating System :: MacOSOperating System :: UnixProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Office/Business :: Financial :: Investment

Tags

crypto trading botautomated cryptocurrency tradingbacktesting trading strategiesmachine learning strategy optimizationmulti-exchange trading bottelegram trading bothyperparameter optimization trading
trading-automationbacktestingmachine-learning

More Investment packages