github freqtrade/freqtrade 2022.6

latest releases: 2024.5, 2024.4, 2024.3...
23 months ago

Highlighted changes

  • New sub-command backtesting-analysis - allowing detailed entry/exit reason analysis.
  • Hyperoptable parameters can now be added to the instance (self) from within bot_start().
  • Improved handling of old orders after longer "downtime".
  • Specific Discord webhook message formatting.
  • Open orders will now be shown in the UI detail pane.
  • Relative profit is shown in /daily, /weekly and /monthly telegram commands.
  • buy/sell Telegram messages now contain a marker if the trade was made in a dry run.
  • Additional metrics in /profit telegram command.

How to update

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

docker-compose

docker-compose pull
docker-compose up -d

Installation via setup script

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

Plain native installation

git pull
pip install -U -r requirements.txt
Expand full changelog ``` c1d4078 Version bump to 2022.6 07aa372 Ensure bot_loop_start is called in hyperopt, too c5e6520 Reorder methods in freqtradebot f2fdc21 Only use exit_tag if exit_type i exit_signal 906c7b9 Add enhance testcase to show problematic exit_reason behavior 86f4077 update dateutil precommit f2bc35e Bump types-python-dateutil from 2.8.17 to 2.8.18 74471e4 update tabulate precommit types 8b17985 Bump types-tabulate from 0.8.9 to 0.8.11 0c69a08 update requests precommit f6e058a Bump types-requests from 2.27.30 to 2.28.0 d60127a Bump time-machine from 2.7.0 to 2.7.1 82ef97a Bump pandas from 1.4.2 to 1.4.3 01185ab update cachetools precommit 9a9d1a8 Bump orjson from 3.7.2 to 3.7.3 0ef2c81 Bump ccxt from 1.88.15 to 1.89.14 6510c8d Bump tabulate from 0.8.9 to 0.8.10 efee148 Bump types-cachetools from 5.0.2 to 5.2.1 8b7dc03 Bump plotly from 5.8.2 to 5.9.0 963f38a Bump sqlalchemy from 1.4.37 to 1.4.39 45db234 Bump mkdocs-material from 8.3.6 to 8.3.8 4840c7d Bump pytest-mock from 3.7.0 to 3.8.1 92dbb0d Bump uvicorn from 0.17.6 to 0.18.1 b5d0bc9 Clarify stoploss behavior when not defining offset 2b07d34 Revert several undesired changes ddc355f Bump numpy from 1.22.4 to 1.23.0 90feccf slightly update custom dockerfile with add. comment 53e5483 Store StopPrice for dry-run orders 15fac74 Bump mkdocs-material from 8.3.4 to 8.3.6 3189b28 Fix tests condition 1cd2b05 Run regular tests for 3.9 under other ubuntu systems e1e3a90 Bump ccxt from 1.87.12 to 1.88.15 996372b Bump colorama from 0.4.4 to 0.4.5 50c19ec Fix ccxt test gateio flukyness f9668ed Fix CI Syntax error 0804fc7 CI should run ccxt tests only once 55fb765 Update pre-commit cachetools 8406010 Bump types-cachetools from 5.0.1 to 5.0.2 0d967f9 Improve performance of some RPC calls 0809f9a Add offset to trade response 0168343 Add trading-volume to api schema 474e670 Add Profit factor to backtesting 53bfa79 Add rudimentary test for prior bug 8c46d19 Fix backtesting bug b7e4dea Document new Profit metrics 40c9abc Add trading volume to /profit output 6a15d36 Add Drawdown and profit_factor to /profit d77ce46 Add "dry" hint to buy/sell messages 03815cb Use fstrings in telegram messaging d622732 Update /help for /fx to align with actual command name 017fd03 Fix but with late entries in backtesting 616bf31 gateio: futures market orders require IOC to be set. fda8248 Gateio allow market orders on futures markets 6bdf9c2 Simplify trade profit calculations further 91f9818 Simplify trade calculations d7770c5 Remove implicit use of certain rates in profit calculations 76cae8e Update tests to always provide rate to profit calculations 575b4ea Update Test with funding_fee 0 14a859c Improve some documentation around futures / leverage 8f32fa5 Avoid exception on exchange recycling if __init__ fails f9e2e87 Improve some formatting and typehints e2e6c79 Minor doc update 4a5ed5a Fix tests c391ca0 Change backtesting-analysis options to space separated lists 29d8aeb Don't fail on invalid parameter 3c62df6 Ensure the same timestamp is used for backtest and signal export 6bb342f Add export-filename support 01a68e1 Remove unnecessary check and condition 1ffee96 Fix protection parameters not loading from parameter file d5fd1f9 Improve order filled handling 848a5d8 Add small stability fix to test 35adeb6 Bump plotly from 5.8.0 to 5.8.2 850f5d3 Bump orjson from 3.7.1 to 3.7.2 fdca583 Bump pymdown-extensions from 9.4 to 9.5 cb2f89b Bump requests from 2.27.1 to 2.28.0 43b8b0a Bump mypy from 0.960 to 0.961 71f314d Bump ccxt from 1.85.57 to 1.87.12 ee0b9e3 Bump mkdocs-material from 8.3.2 to 8.3.4 e67d29c Update more trades to use create_mock_trades 70966c8 Bump actions/setup-python from 3 to 4 8fd245c Update pre-commit filelocktypes 43c871f Use time-machine to stabilize time-sensitive tests 390e600 Update statistics output 40c7caa Bump types-filelock from 3.2.6 to 3.2.7 7619fd0 Update telegram tests to use mock_trades dff83ef Update telegram profit test to USDT 56652c2 Improve test resiliance c9761f4 FreqUI should be installed by default when running setup.sh 4b70e03 Add some rudimentary tsts for discord webhook integration fdfa94b make discord notifications fully configurable. f816c15 Update discord message format 3a06337 Update API to provide new values. 9ba11f7 Update docs and tests for new daily command 76827b3 Add relative profit to daily/weekly commands 0a801c0 Simplify daily RPC test 1a5c3c5 Simplify weekly/monthly tests, convert to usdt ab6a306 Update daily test to USDT 2c7c5f9 Update mock_usdt trade method 76f8737 Reduce decimals on FIAT daily column 7142394 remove random_state condition ad3c017 time aggregate to only query for data necessary dce9fdd don't overwrite is_random 8fb743b improve variable wording 3c2ba99 Improve sql cheatsheet docs a9c7ad8 Add warning about sqlite disabled foreign keys 1ddd5f1 Update docstring throughout the bot. 88f8cbe Update tests to reflect new naming b211a51 Add test for strategy_wrapper lazy loading a547001 Reduce Telegram "unit" stats d4dd026 Consolidate monthly stats to common method 3cb15a2 Combine weekly and daily profit methods c550cd8 Simplify query in freqtradebot d265b8a Bump python from 3.10.4-slim-bullseye to 3.10.5-slim-bullseye 7eacb84 Fix backtesting bug when order is not replaced ac40ae8 give extra info on rate origin for confirm_trade_* 381d648 version-bump ccxt 9534d6c Cancel orders which can no longer be found after several days 057be50 Remove old concurrency method 0b806af Add orders column to btresult 82c5a6b Update CI to use concurrency ea9b68b Add updating freqtrade to updating desc 99f6c75 Bump types-requests precommit 05922e9 Bump ccxt from 1.84.39 to 1.84.97 4affa75 Bump sqlalchemy from 1.4.36 to 1.4.37 963dc02 Bump types-requests from 2.27.29 to 2.27.30 35316ec Bump jsonschema from 4.5.1 to 4.6.0 6547f3a Bump mkdocs-material from 8.2.16 to 8.3.2 04cb49b Bump filelock from 3.7.0 to 3.7.1 786bc36 Bump orjson from 3.6.8 to 3.7.1 79107fd Add minimal order object serialization 8369d5b Include open orders in json responses c0ff554 Cleanup old, left open dry-run orders f709222 Properly close out orders in backtesting c499bb0 Allow empty unfilledtimeout for webserver mode a790bad Add entry_tag to leverage callback 27bea58 Fix rest-client script's force_enter eb4adea fix flake8 issues 45c47bd refactor into discord rpc module afd8e85 feat: add support for discord notification ea537b3 Update tests for leverage_tier_loading cce8d1a Update get_market_leverage_tiers to be async be6e081 Remove --strategy from analysis test c285ad0 Remove --strategy parameters, update docs 056047f Fix --help 9a068c0 Add test for each analysis group, remove default table output if not indicator-list 24b0212 Update docs df1c36e Change command name, use load_backtest_stats for strategy resolving e7c5818 First pass changes for cleaning up 43b7955 Fully rely on pathlib 145faf9 Use tmpdir for testing 21e6c14 Final test changes f5c2930 Presume that pytest will call the cleanup call 2873ca6 Add cleanup, adjust _print_table for indicators, add rsi to test output edd474e Another test fix attempt 22b9805 Fix all tests 3adda84 Update docs, add test 8c03ebb Fix group 0 table, add pathlib.Path use 80c6190 Fix analyze_commands setup ae1ede5 Fix import order a1a09a8 Add analyze_commands 9488e89 First commit for integrating buy_reasons into FT 2b61aa2 Removed None in dict.get()


</details>

Don't miss a new freqtrade release

NewReleases is sending notifications on new releases.