Download Latest Version 2026.2 source code.tar.gz (45.1 MB)
Email in envelope

Get an email when there's a new version of Freqtrade

Home / 2026.2
Name Modified Size InfoDownloads / Week
Parent folder
2026.2 source code.tar.gz 2026-02-28 45.1 MB
2026.2 source code.zip 2026-02-28 45.4 MB
README.md 2026-02-28 13.2 kB
Totals: 3 Items   90.5 MB 4

Highlighted changes

  • Improved backtesting ROI exit rate accuracy.
  • stoploss_from_absolute() no longer limits stoplosses to be below 100%.
  • Improved stoploss on exchange behavior in dry-run mode.
  • Binance futures - candle limit reduced to 499 to improve fetching speed.
  • New mode for MaxDrawdown Protection using account drawdown for comparison, which will allow more precise usage. This is opt-in - but the old version should be considered deprecated going forward.
  • Fixed Protections duration in backtesting (this could cause slightly different results in backtesting compared to older versions if using protections).
  • API security improvements:
    • Update defaults and docs for jwt_secret_key (it should be 32 characters long). While it will not be enforced in this version yet, we may enforce this at a config level at a later point.
    • Fixed some other important vulnerabilities.
  • freqUI:
    • Download-data through freqUI now supports the prepend option (—prepend )
    • Visualize strategy parameters for running strategies

Sponsor

You can sponsor the work on freqtrade via the following links:

New Contributors

How to update

As always, you can update your bot using one of the following commands:

docker-compose

:::bash
docker-compose pull
docker-compose up -d

Installation via setup script

:::bash
# Deactivate venv and run 
./setup.sh --update

Plain native installation

:::bash
git pull
pip install -U -r requirements.txt
Expand full changelog f535c4cff chore: bump version to 2026.2 09c60b954 remove M 166476b21 refactor: remove unused method 3a775a5b6 test: align backtest_pricecontours expected trades with correctly fixed pairlock expiry duration ab9b6989b fix: historic precision must also workf or big numbers 7030b0bfc chore: update pre-commit hooks f0dd3e4ab move pair prefixes to constants 402ef216c chore: bump dockerfile from 3.13.11 to 3.13.12 5f585e330 docs: Add discord server Badge 6d04874e2 docs: update coverage badge 4b45e3f3d chore(ci): bump pester version in Ci 4359de7cc test: fix exchange.close test warnings 48015a9b1 fix: path traversal in web_ui 34df7b179 test: add test for path traversal fix 429276cac test: add tests for base64 strategy verification e7154c93a fix: disallow base64 strategies through rpc endpoints 523a9d644 test: update test for new error message 3a6311b7f refactor: extract check for base64 strategies f6dbca35f fix: safe_value_dict on a non-iterable object 07e108883 test: improve safe_value_nested test 74d373e37 docs: improve contributing formatting 6ce4d1a7c docs: update contributing about AI usage 961eaef2a fix: align pairlock backtesting expiration condition with live/dry run 6e49a9073 docs: improve some doc formatting/wording 816f81e5b chore: update pre-commit hooks b6993f0b2 test: fix random test failure due to missing mandatory key 58079a8b5 refactor: fetch starting_balance only once at backtest initialization 9232e17af chore(deps): bump markdown from 3.10.1 to 3.10.2 d962137d2 chore(deps): bump pymdown-extensions from 10.20.1 to 10.21 22c91137b chore(deps): bump xgboost from 3.1.3 to 3.2.0 92b8bdd11 chore(deps): bump ccxt from 4.5.38 to 4.5.39 3c5178b00 chore(deps): bump cachetools from 7.0.0 to 7.0.1 823100522 chore(deps): bump fastapi from 0.128.5 to 0.129.0 2646313c1 chore(deps): bump filelock from 3.20.3 to 3.24.2 12b4875e2 chore(deps-dev): bump ruff from 0.15.0 to 0.15.1 a5d24f14c docs: clarify MaxDrawdown calculation modes and update example 50f914d6d fix: pass starting_balance to protection manager in backtest b4422131f chore: move show_sensitive warning f61b50dbf chore: improved docstring ce590cced chore: clarify --export-filename Deprecation messages a417af1ff chore: add note to todo about still running jobs d2e650d18 chore: remove missleading comment in help 088516b2e chore: Update help to clarify backtest-filename deprecation 96c0a6296 chore: update pre-commit hooks e524e030e docs: clarify mode behavior and sample config in MaxDrawdown protection e19d96f85 test: improve MaxDrawdown mode coverage and naming 0672d8f09 refactor: limit pre-window balance aggregation to equity mode d27aef206 fix: correct parameter naming d7d07bde7 `/ping` route support HEAD request method e1d7c7a08 test: update MaxDrawdown protection tests for starting_balance and calculation modes d59338421 docs: update MaxDrawdown protections documentation with new calculation methods 5c737d977 refactor: optimize performance and remove redundant logic in protections 1c21b092e chore: update pre-commit hooks 2325e5f53 chore: reduce binance futures candle count to 499 dbaece946 docs: update MaxDrawdown description to reflect equity-based logic edd33ab77 Test: update MaxDrawdown tests to match new equity-based logic 38934ddda Feat: implement accurate drawdown calculation in MaxDrawdown protection 5c9455c32 Refactor: update IProtection interface to support starting_balance 1ffc2e47a chore(deps): bump astral-sh/setup-uv from 7.2.0 to 7.3.0 a5c392e17 chore(deps): bump fastapi from 0.128.0 to 0.128.5 8f9754dd5 chore(deps): bump tqdm from 4.67.2 to 4.67.3 b3b3b1d13 chore(deps): bump orjson from 3.11.6 to 3.11.7 26fd70ce4 chore(deps): bump ccxt from 4.5.36 to 4.5.38 18aed385f fix: increment latest ID by 1 on migration e6db0ab00 fix: pairlocks table migration on postgres 8ed1e6c39 chore: refactor get_last_sequence_ids da62e614d chore: improve typesafety for migrations ca94909cc test: improve test for migrate_set_sequence_id's 131c1aaf1 chore: clarify set_sequence_id's docstring 5f06b1d43 test: update dry_order_fill test c999de629 feat: immediately triggering stoploss orders should cause emergency exits a42c8faec test: add test for immediately triggering stop order ecfbfa2a3 test: try fix for test_exchangews_ohlcv random failures 6b86214ca fix: random hangs in CI df6f53ba3 test: update set_sequence_ids test 0888f6dba feat: add db migration functionality for custom-data and kv store 5d3c798df fix: further improve exchange.close fix 93d2397f7 fix: improved shutdown loop fix for tests 05e759a38 fix: check if loop exists 67eaa4ac4 fix: prevent warnings in online tests e8aeebb12 fix: use safe_value_nested for features d121e9706 test: add test for safe_value_nested bdf5c4de8 feat: add safe_value_nested function 7492cf8bf docs: update doc links from latest to stable d29d4cba6 chore: update doc links from latest to stable 655d61e56 docs: Have readme links point to the documentation 5a16cbe60 chore: update pre-commit hooks 519f2d93b test: update tests for new stoploss_from_absolute behavior 646c091e0 fix: don't bracked stoploss to 1 c86acd20d chore(deps): bump cryptography from 46.0.4 to 46.0.5 60b787edc chore: extract schema.json eec33190d chore: jwt_secret_key is guaranteed to be in the schema now 6e38759bd chore: add new randomDefault value 6a242356a docs: update docs about jwt_secret_key 04d2ea877 chore: update sample configs with longer jwt_secret key d78ffd7a0 test: use longer JWT_Secret_key for tests c4514f94c feat: show supported python versions in windows script af39ec1e0 fix: improve setup.ps1 stability c02530759 feat: show supported versions for setup.sh script 6df42502a chore: simplify MarginMode init fea13d1d3 revert wrong markdownlint "fix" abf5f2b49 test: update test for strEnum 24319585b refactor: switch SignalTypes to StrEnum 812f357d7 refactor: Update to StrEnum where possible 51431d953 chore: update ruff version 0.15.0 eb81c7052 chore: format according to 2026 styleguide b52805cd9 chore: split Decimal and RealParameters cb1266225 chore: fix unused imports 33ba2ad17 chore: don't use empty iterable 2f2b36f64 chore: cleanup web_ui definition aa1de750e test: update test for new response code 68410f2f3 add note about HIP-3 pair naming 1f00c9d68 chore: update pre-commit hooks a91fd66ab fix: improve openAPI schema definition 403637575 test: remove pointless test calculation 9eb668d08 chore: improve response security c5697c7d6 Apply suggestion from @Copilot 42230fdd0 chore(deps): bump pyjwt from 2.10.1 to 2.11.0 4934a83a2 chore(deps): bump cryptography from 46.0.3 to 46.0.4 8546542a1 chore(deps): bump cachetools from 6.2.5 to 7.0.0 f56460cc1 chore(deps): bump docker/login-action from 3.6.0 to 3.7.0 54f25b5b8 chore(deps): bump zizmorcore/zizmor-action from 0.4.1 to 0.5.0 541b976b8 chore(deps): bump numpy from 2.4.1 to 2.4.2 b6c7e24ca chore(deps): bump ccxt from 4.5.35 to 4.5.36 22d624a25 chore(deps): bump psutil from 7.2.1 to 7.2.2 d482117fd chore(deps): bump orjson from 3.11.5 to 3.11.6 835f00b10 chore(deps): bump rich from 14.3.1 to 14.3.2 55c3b83fa chore(deps): bump tqdm from 4.67.1 to 4.67.2 348afa46f chore: update api_version to 2.47 a7890a964 test: add test for /strategy live mode ba57ab9a1 feat: add trade mode /strategy endpoint ac6b396ed chore: improve type-safety 570bfef4b test: /strategy/ includes random spaces 100babc05 test: improve api-strategy test 5ab8338c3 feat: add strategy-parameters to /strategy endpoint 600b6a7d2 refactor: rename "decimal" variable in Decimal parameter f6e465a0b test: add test for paramType property bea006880 feat: add paramType to Strategy Parameters a7e35f5d7 chore: cleanup web_ui definition 5fb963abb Fix regex pattern for model folder matching 351fe62d1 feat: add prepend_data to download_data endpoint 65a713a56 fix: don't break list-strategies if one strategy has invalid parameters 646531cbf test: type ccxt_online test setups 8233ca67b chore: update timing in hopes to improve runtime d86bca9f0 chore: update pre-commit hooks 82f71d8e4 chore(ci): update lev-tier-update to use UV and python 3.14 315a1baf2 test: simplified test setup for compat tests e5bd33061 test: limit live futures tests to actual futures exchanges 06ed6e6b2 test: fix candle-limit live test 2c0a02918 feat: add markpoint rotate support a3b83afa8 chore: update pre-commit hooks 6c2a5b460 feat: use `extra="forbid"` in annotation Validations aa302fe53 docs: improve plot-annotation example f2c2e84a7 docs: update point annotation documentation d73a173c6 fix: avoid warning for dry stoploss orders 110b50a3c test: improve test_exchangews_ohlcv test setup 36f5afe91 chore: bump nbconvert to 7.17.0 713546609 chore: bump scipy-stubs in pre-commit config e4c25ed07 chore(deps-dev): bump scipy-stubs in the scipy group 7007e71dc chore: bump sqlalchemy in pre-commit config 14247854c chore(deps): bump sqlalchemy from 2.0.45 to 2.0.46 2364a08fd chore(deps): bump ccxt from 4.5.34 to 4.5.35 3d8d101bf chore: bump types-python-dateutil in pre-commit config 13a5c5433 chore(deps-dev): bump ruff from 0.14.13 to 0.14.14 c0a439fb5 chore(deps): bump python-telegram-bot from 22.5 to 22.6 5ce220378 chore(deps): bump rich from 14.2.0 to 14.3.1 f3931c858 chore(deps): bump markdown from 3.10 to 3.10.1 828abf632 chore(deps): bump packaging from 25.0 to 26.0 33ebbab6a chore(deps): bump torch from 2.9.1 to 2.10.0 0a49816b2 chore(deps): bump peter-evans/create-pull-request from 8.0.0 to 8.1.0 c77ac9f10 chore(deps): bump actions/setup-python in the actions group 820a13f37 chore(deps): bump cachetools from 6.2.4 to 6.2.5 2a29fccd1 chore(deps): bump optuna from 4.6.0 to 4.7.0 b857e1939 chore(deps): bump pymdown-extensions from 10.20 to 10.20.1 b4bdc66c3 chore(deps-dev): bump types-python-dateutil in the types group cedfb2a51 chore: slightly improve docstring 93b6c52aa test: Improved test setup 0ef85e161 fix: problem in ohlcv_with_cache 26aed91bb test: improve test-case to highlight issue in ohlcv_with_cache 3c2ddda20 test: improve test for ohlcv_with_cache beec9123d chore: bump dev version to 2026.2-dev ea6d23bd2 fix: align _get_close_rate_for_roi with calc_profit_ratio logic in backtesting
Source: README.md, updated 2026-02-28