2021.9
版本发布时间: 2021-09-29 01:22:11
freqtrade/freqtrade最新发布版本:2024.10(2024-10-31 15:07:21)
Highlighted changes
-
--timeframe-detail
in backtesting allows you to look "into" candles` for improved backtest results. - Improved
new-config
templates, defaulting to a "ready to start" configuration. - Improved
download-data
logic for new pairs on binance. - Officially support kucoin and gate.io.
-
PerformanceFilter
can now only consider trades closed within the last X minute. - Allow hyperopt to define custom estimators (
generate_estimator
). -
@informative
decorator to easily define informative pairs. - Improved
/balance
output, including change % over the whole period (including assumed starting balance). - Notifications when protections trigger. Enabled by default for global protections, must be explicitly enabled for "per pair" protections.
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
5938514e5 Version bump to 2021.9
5726886b0 Reduce backtest-noise from "pandas slice" warning
3fbf716f8 Fix "sticking" timerange in webserver mode
5b7a1f864 Validate config also in webserver mode
78096c9ef Bump nbconvert from 6.1.0 to 6.2.0
905950230 Bump ccxt from 1.56.86 to 1.57.3
08b1f04ed Bump types-requests from 2.25.8 to 2.25.9
6319c104f Fix unreliable backtest-result when using webserver mode
f4f204d84 Update test to use cost dict
4c268847d Add pandas-ta to setup.py
b59906b11 Update minimum for tradable_balance_ratio to 0.0
72a1e27fc Bump ccxt from 1.56.30 to 1.56.86
954c46819 Add pandas-ta to requirements
0353f070f Bump progressbar2 from 3.53.2 to 3.53.3
90d5af9a3 Bump urllib3 from 1.26.6 to 1.26.7
766ef90b5 Bump sqlalchemy from 1.4.23 to 1.4.25
e85dc6326 Bump mkdocs-material from 7.2.6 to 7.3.0
422d56018 Bump types-requests from 2.25.6 to 2.25.8
692e91a26 changed close date from datetime.utcnow() to datetime.now(timezone.utc)
d7903f012 Move PerformanceWarning to advanced section
2bf49445b add parameterized names
30cc69c88 set all to eth for multi test
8cfb6ddd5 fix long line
f768bdea5 cleanup based on feedback
553c868d7 combined test_order_book_depth_of_market and test_order_book_depth_of_market_high_delta
b0de4d333 fixed webhook error
707d0ef79 remove trades_for_order3
277828bf0 parameterize some tests
6fc770d97 Add warning about running with docker on windows
abddb0db6 Fix header indention
3ce05c0d5 Add "sane" defaults to protection triggers
fd23ab3d6 improve formatting, add tests
dd0db7ee5 Split protection-notification into global and per-pair
a0fb43c6c Add pairlock-notification
c91a9a92f Add troubleshooting information
1da091dea ProtectionManager should return the lock just created
879bf47b3 Refactor telegram.py to simplify send_msg
ec0353177 Improve naming of variables
ab8821718 Improve /balance output to include starting balance and percentual change
cee4ed541 parametrized test_update_trade_state_withorderdict
ec9dbc550 parametrized test_create_trade_minimal_amount
c1895a0fc Remove warning related to legacy hyperopt
eab7f8f69 [SQUASH] Doh.
713e7819f [SQUASH] Remove mypy import.
518a59ad4 parametrized test_edge_overrides_stoploss
42a2fdc1c parametrized test_order_dict
216f75bbb parametrized test_sell_profit_only , test__safe_exit_amount, test_order_book_bid_strategy1
e4ca42fae [SQUASH] Update stoploss_from_absolute to behave more like stoploss_from_open and add a test for it.
7e6aa9390 [SQUASH] Unconditionally include quote currency when asset is explicitly specified. Added docs suggesting to use string formatting to make strategy independent of configured stake currency.
e88c4701b [SQUASH] Address PR comments.
bb6ae682f Small simplifications
5dc78a0c6 [SQUASH] Get rid of _initialize() and fix informatives for dynamic pairlists.
f81df19b9 [TMP] Make tests not fail for now.
dfa61b7ad [SQUASH] Fix informatives for each pair not being created because dataprovider was not available. Fix not being able to have informative dataframe of a pair in whitelist.
f2a1d9d2f [SQUASH] Address PR comments.
1fdb65633 Add a decorator which can be used to declare populate_indicators() functions for informative pairs.
d84ef3474 A helper to calculate stoploss value from absolute price.
56fb25c5e Add test for PerformanceFilter lookback
564e0b9a1 Switch performanceFilter to use Minutes lookback resolution
12c12d42d Add documentation for days parameter in PerformanceFilter
d7395e873 Removed unused OperationalException
4b2c1a9b8 Remove trailing whitespace
e715f2a25 Update formatting
9525a5b96 Add type to "trials" parameter
fb6beb90e Include Raspberry Pi armv6 (0, 0W,...)
124e97f3b Remove ununsed variables from export_csv_file
5fc993231 Update HyperoptTools.export_csv_file usage
3a98fb72a Update prepare_trials_columns() return type
982deeedf Update freqtrade/persistence/models.py
54ef36a49 Updates after review to PerformanceFilter days param
457e738b4 Added days parameter to PerformanceFilter
994c3c3a4 Add some errorhandling for custom estimator
c0811ae89 Add possibility to override estimator from within hyperopt
90ad17893 Remove verbosity of edge
57ea0c322 Rename indicator_space to buy_indicator_space
f7bae81d9 Dataframe should be copied after populate_indicator
4e2b1764b ccxt_compat_tests must run with dry-run=False
35eda8c8c Improve agefilter test
3ce5197e8 Add Tests for AgeFilter caching
c9ba52d73 Expire cached pairs in age-filter once per day
a12c3ecc9 Remove credentials whenever dry-run is set from within the exchange
8afb3c4b7 Move AgeFilter cache to instance level
3cdd06f56 Add PeriodicCache
b13bd8762 Bump ccxt from 1.55.83 to 1.56.30
81039fce2 Bump progressbar2 from 3.53.1 to 3.53.2
d8f48cf0e Bump pandas from 1.3.2 to 1.3.3
236dc4800 Update CI to use new hyperopt interface
0017b3438 Remove list-hyperopts
3675df834 Update documentation regarding Legacy Hyperopt
fd6bf591f Update some tests to remove explicit hyperopt interface
dad4a49e8 Remove legacy hyperopt interface from hyperopt.py
ebb0b8aa3 Remove new-hyperopt command
432c3df17 Add documentation for Bittex/Gemini with VolumePairlist
a5f90a409 Small updates to async_history_fetch
4c4604f83 Add explicit test for get_historic_ohlcv
8c9159f59 Improve comments
a19c33ba5 Don't blindly create coroutines, but fire them off in batches
982534ddc Add gate.io to list of supported exchanges
366247dff removed caplog.clears at end of functions in test_freqtradebot
b2f289e40 Fixed freqtradebot failing tests
a1c9a4d61 freqtradebot local name changes
362dc2040 notify_buy -> notify_enter, notify_sell -> notify_exit
e1f846f22 sell_lock -> exit_lock
e0092a85e handle_cancel_buy/sell -> handle_cancel_enter/exit
be93c75e4 reupdate_buy_order_fees -> reupdate_enter_order_fees
aac05029e safe_sell_amount -> safe_exit_amount
79ca6135a added caplog clears to freqtradebot tests
2d66987ac Add test for "pair-startdate" detection
8c83c258a Move "first-pair_getting" to binance subclass
71ff214ad Support "initial_call" for download-data of new pairs
880474594 have ftuser use `/bin/bash` in dockerfile
10d0987f4 Fix docs for custom hyperopt space
6bd495a32 Fix 0Exception error
a04875eb5 Update edge.md
765e72715 Bump mkdocs-material from 7.2.5 to 7.2.6
44f8d7abf Bump ccxt from 1.55.56 to 1.55.83
771193cbe Bump plotly from 5.3.0 to 5.3.1
4daa4b9e6 Bump pytest from 6.2.4 to 6.2.5
1d24d3d5e case insensitive blacklist
c519ecf8d Exclude more untestable sections from coverage
a8f28ffb1 Increase test coverage
2173ff013 Update PR template to not link to issues in changelog
4e049f65f Exclude some parts from coverage that can't really be tested
eb0362c29 ⚡️ ️`install_ta-lib.sh` - Run `ldconfig` after `make install`
493fb3507 Fix uvicorn not working properly on windows
103a8e827 ⚡ `setup.sh` - Use `build_helpers/install_ta-lib.sh` for TA-Lib installation
2f92838c3 Properly close parenteses in exchange doc
b4130dfab Use volumePairlist instead of staticPairlist in generated config
c489e6825 Simplify binance blacklist
68f13173b Update new-config templates to use USDT by default
e64ccd8fc Add new_config section for kucoin
19ad16548 Add time_in_force for kucoin
93c1dff71 Allow adding new additional headers
87fa49d52 Bump python from 3.9.6-slim-buster to 3.9.7-slim-buster
1cbe30343 Add documentation for --detail-timeframe
da5f8c87a Add stake_currency to strategy interface
4cc1f2b4a Update bot-basics.md
2a0c95a2e Update freqtrade/commands/build_config_commands.py
45c6f9069 Bump mkdocs-material from 7.2.4 to 7.2.5
9e0ab9c2c Bump fastapi from 0.68.0 to 0.68.1
26451e8c0 Bump ccxt from 1.55.28 to 1.55.56
d0504c47e Bump plotly from 5.2.1 to 5.3.0
c64ebeb6e Bump cryptography from 3.4.7 to 3.4.8
c17595b31 Docs: Mention Performance Warning for strategies
20878290a Surround "unlimited" by double quotes in build config.
c14d8ea82 Export HDF5 and CBLOSC paths.
1895230af Clarify exception on load when markets could not be loaded
89581ad25 Fix typo in protections hyperopt doc
f79b30e88 Docs: Minor fixes
482e65453 Remove extra comma after the last element in binance pair_blacklist.
ac0dada96 Update Version to develop again
fa4ec9f83 Add explicit test for get_sell_trade_entry
3406b889b First test
8405ccc15 Seperate detail data loading from regular backest-data loading
88172fab8 Allow "detailed" backtesting timeframe to look into the candle