Release Summary
The community was again very active, thank you for your PR. We are proud to release another major version.
Majors improvements:
- Custom strategies
- Support multiple Ticker Interval: 1m, 5m, 30 min, 60 min and 1 day ticker
- Hyperopt will calculate your minimal_roi
- Replace matplotlib with Plotly
- Bot Stability improved
Breaking Changes
This version introduces a major update on strategies. Indicators, Buy and Sell strategies have moved from analyze.py
to custom strategies you can create into user_data/strategies/
folder.
We suggest you starting by reading the updated documentation about the strategies: Bot usage and backtesting
The bot still includes a default strategy, but you can now create and update your own strategy without worrying of merge conflicts at each release. It will also allow you to play with different strategies without updating the bot source code.
How to move your strategy into a custom strategy?
- Duplicate
user_data/strategies/test_strategy.py
to a new fileuser_data/strategies/custom_strategy.py
- Replace the content of
populate_indicators()
,populate_buy_trend()
,populate_buy_trend()
, andpopulate_sell_trend()
by the customization you have made previously intofreqtrade/analyse.py
- Define
minimal_roi
,stoploss
, andticker_interval
(You can remove them from your configuration) - Start the bot with the param
--strategy <strategy_filename>
or-s <strategy_filename>
python3 ./freqtrade/main.py --strategy custom_strategy
If the strategy file is not found or contains code errors the bot will fallback to the default strategy included (located into freqtrade/strategy/default_strategy.py
).
Note: Strategies already integrates minimal_roi
, stoploss
, and ticker_interval
values. This value in the config file becomes optional and can be removed. However, if you keep minimal_roi
, stoploss
, and ticker_interval
they will override the strategy values.
Strategies samples
- Test strategy included with the bot: user_data/strategies/test_strategy.py
- multiple additional strategies: here
Features and Bugfixes
- Improve Telegram: #386, #409, #419, #424
- Improvement: Bot stability and new features: #376, #379, #391, #392, #395, #398, #400, #411, #412, #415, #417, #423, #426, #428, #429, #432, #446, #456
- Improve Backtesting and Hyperopt: #393, #394, #430, #436 , #449
- Improve Plotting: #454
- Update documentation: #381, #404, #437, #458, #463, #466
- Upgrade Dependencies version: #377, #388, #399, #403, #431, #433, #445, #451
Known Issues (Link):
Greetings
Thanks to @jblestang, @kryofly, @vertti, @shusso, @gcarq, @rohit366, @mijgame for your contributions