2022.6
版本发布时间: 2022-07-04 01:42:54
freqtrade/freqtrade最新发布版本:2024.11(2024-12-02 03:12:36)
Highlighted changes
- New sub-command
backtesting-analysis
- allowing detailed entry/exit reason analysis. - Hyperoptable parameters can now be added to the instance (
self
) from withinbot_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
``` c1d407851 Version bump to 2022.6 07aa372e2 Ensure bot_loop_start is called in hyperopt, too c5e6520fe Reorder methods in freqtradebot f2fdc2137 Only use exit_tag if exit_type i exit_signal 906c7b92f Add enhance testcase to show problematic exit_reason behavior 86f407702 update dateutil precommit f2bc35e05 Bump types-python-dateutil from 2.8.17 to 2.8.18 74471e41d update tabulate precommit types 8b1798522 Bump types-tabulate from 0.8.9 to 0.8.11 0c69a0886 update requests precommit f6e058a32 Bump types-requests from 2.27.30 to 2.28.0 d60127a6d Bump time-machine from 2.7.0 to 2.7.1 82ef97af7 Bump pandas from 1.4.2 to 1.4.3 01185ab48 update cachetools precommit 9a9d1a897 Bump orjson from 3.7.2 to 3.7.3 0ef2c812d Bump ccxt from 1.88.15 to 1.89.14 6510c8d33 Bump tabulate from 0.8.9 to 0.8.10 efee148e4 Bump types-cachetools from 5.0.2 to 5.2.1 8b7dc031f Bump plotly from 5.8.2 to 5.9.0 963f38a69 Bump sqlalchemy from 1.4.37 to 1.4.39 45db2347d Bump mkdocs-material from 8.3.6 to 8.3.8 4840c7d2f Bump pytest-mock from 3.7.0 to 3.8.1 92dbb0d36 Bump uvicorn from 0.17.6 to 0.18.1 b5d0bc997 Clarify stoploss behavior when not defining offset 2b07d3461 Revert several undesired changes ddc355feb Bump numpy from 1.22.4 to 1.23.0 90feccf33 slightly update custom dockerfile with add. comment 53e5483da Store StopPrice for dry-run orders 15fac746a Bump mkdocs-material from 8.3.4 to 8.3.6 3189b284c Fix tests condition 1cd2b0504 Run regular tests for 3.9 under other ubuntu systems e1e3a903f Bump ccxt from 1.87.12 to 1.88.15 996372b8f Bump colorama from 0.4.4 to 0.4.5 50c19ece5 Fix ccxt test gateio flukyness f9668ede4 Fix CI Syntax error 0804fc7a3 CI should run ccxt tests only once 55fb7656d Update pre-commit cachetools 840601026 Bump types-cachetools from 5.0.1 to 5.0.2 0d967f93b Improve performance of some RPC calls 0809f9aef Add offset to trade response 0168343b7 Add trading-volume to api schema 474e6705e Add Profit factor to backtesting 53bfa7931 Add rudimentary test for prior bug 8c46d1907 Fix backtesting bug b7e4dea6c Document new Profit metrics 40c9abc7e Add trading volume to /profit output 6a15d36d1 Add Drawdown and profit_factor to /profit d77ce468e Add "dry" hint to buy/sell messages 03815cb81 Use fstrings in telegram messaging d62273294 Update /help for /fx to align with actual command name 017fd0318 Fix but with late entries in backtesting 616bf315c gateio: futures market orders require IOC to be set. fda8248d4 Gateio allow market orders on futures markets 6bdf9c2a9 Simplify trade profit calculations further 91f9818ae Simplify trade calculations d7770c507 Remove implicit use of certain rates in profit calculations 76cae8e8e Update tests to always provide rate to profit calculations 575b4ead1 Update Test with funding_fee 0 14a859c19 Improve some documentation around futures / leverage 8f32fa5cb Avoid exception on exchange recycling if __init__ fails f9e2e8734 Improve some formatting and typehints e2e6c790b Minor doc update 4a5ed5a27 Fix tests c391ca08d Change backtesting-analysis options to space separated lists 29d8aeb9b Don't fail on invalid parameter 3c62df6b8 Ensure the same timestamp is used for backtest and signal export 6bb342f23 Add export-filename support 01a68e106 Remove unnecessary check and condition 1ffee96ba Fix protection parameters not loading from parameter file d5fd1f9c3 Improve order filled handling 848a5d85c Add small stability fix to test 35adeb641 Bump plotly from 5.8.0 to 5.8.2 850f5d384 Bump orjson from 3.7.1 to 3.7.2 fdca583c6 Bump pymdown-extensions from 9.4 to 9.5 cb2f89bca Bump requests from 2.27.1 to 2.28.0 43b8b0a08 Bump mypy from 0.960 to 0.961 71f314d4c Bump ccxt from 1.85.57 to 1.87.12 ee0b9e3a5 Bump mkdocs-material from 8.3.2 to 8.3.4 e67d29cd2 Update more trades to use create_mock_trades 70966c8a8 Bump actions/setup-python from 3 to 4 8fd245c28 Update pre-commit filelocktypes 43c871f2f Use time-machine to stabilize time-sensitive tests 390e600f5 Update statistics output 40c7caac1 Bump types-filelock from 3.2.6 to 3.2.7 7619fd08d Update telegram tests to use mock_trades dff83ef62 Update telegram profit test to USDT 56652c2b3 Improve test resiliance c9761f473 FreqUI should be installed by default when running setup.sh 4b70e03da Add some rudimentary tsts for discord webhook integration fdfa94bcc make discord notifications fully configurable. f816c15e1 Update discord message format 3a0633760 Update API to provide new values. 9ba11f7bc Update docs and tests for new daily command 76827b31a Add relative profit to daily/weekly commands 0a801c022 Simplify daily RPC test 1a5c3c587 Simplify weekly/monthly tests, convert to usdt ab6a306e0 Update daily test to USDT 2c7c5f9a6 Update mock_usdt trade method 76f87377b Reduce decimals on FIAT daily column 714239412 remove random_state condition ad3c01736 time aggregate to only query for data necessary dce9fdd0e don't overwrite is_random 8fb743b91 improve variable wording 3c2ba99fc Improve sql cheatsheet docs a9c7ad8a0 Add warning about sqlite disabled foreign keys 1ddd5f190 Update docstring throughout the bot. 88f8cbe17 Update tests to reflect new naming b211a5156 Add test for strategy_wrapper lazy loading a54700160 Reduce Telegram "unit" stats d4dd02631 Consolidate monthly stats to common method 3cb15a2a5 Combine weekly and daily profit methods c550cd8b0 Simplify query in freqtradebot d265b8adb Bump python from 3.10.4-slim-bullseye to 3.10.5-slim-bullseye 7eacb847b Fix backtesting bug when order is not replaced ac40ae89b give extra info on rate origin for confirm_trade_* 381d64833 version-bump ccxt 9534d6cca Cancel orders which can no longer be found after several days 057be5094 Remove old concurrency method 0b806af48 Add orders column to btresult 82c5a6b29 Update CI to use concurrency ea9b68bad Add updating freqtrade to updating desc 99f6c75c4 Bump types-requests precommit 05922e9eb Bump ccxt from 1.84.39 to 1.84.97 4affa75ff Bump sqlalchemy from 1.4.36 to 1.4.37 963dc0221 Bump types-requests from 2.27.29 to 2.27.30 35316ec06 Bump jsonschema from 4.5.1 to 4.6.0 6547f3aad Bump mkdocs-material from 8.2.16 to 8.3.2 04cb49b7e Bump filelock from 3.7.0 to 3.7.1 786bc3616 Bump orjson from 3.6.8 to 3.7.1 79107fd06 Add minimal order object serialization 8369d5bed Include open orders in json responses c0ff554d5 Cleanup old, left open dry-run orders f70922294 Properly close out orders in backtesting c499bb051 Allow empty unfilledtimeout for webserver mode a790bad1e Add entry_tag to leverage callback 27bea580d Fix rest-client script's force_enter eb4adeab4 fix flake8 issues 45c47bda6 refactor into discord rpc module afd8e8583 feat: add support for discord notification ea537b32c Update tests for leverage_tier_loading cce8d1aa4 Update get_market_leverage_tiers to be async be6e0813d Remove --strategy from analysis test c285ad0e2 Remove --strategy parameters, update docs 056047f63 Fix --help 9a068c0b1 Add test for each analysis group, remove default table output if not indicator-list 24b02127e Update docs df1c36e5a Change command name, use load_backtest_stats for strategy resolving e7c5818d1 First pass changes for cleaning up 43b7955fc Fully rely on pathlib 145faf981 Use tmpdir for testing 21e6c14e1 Final test changes f5c293088 Presume that pytest will call the cleanup call 2873ca6d3 Add cleanup, adjust _print_table for indicators, add rsi to test output edd474e66 Another test fix attempt 22b9805e4 Fix all tests 3adda84b9 Update docs, add test 8c03ebb78 Fix group 0 table, add pathlib.Path use 80c6190c0 Fix analyze_commands setup ae1ede58d Fix import order a1a09a802 Add analyze_commands 9488e8992 First commit for integrating buy_reasons into FT 2b61aa282 Removed None in dict.get()
</details>