github freqtrade/freqtrade 0.16.0

latest releases: 2024.3, 2024.2, 2024.1...
5 years ago

Release Summary

The community was again very active, thank you for your PR. We are proud to release another major version.

Majors improvements:

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?

  1. Duplicate user_data/strategies/test_strategy.py to a new file user_data/strategies/custom_strategy.py
  2. Replace the content of populate_indicators(), populate_buy_trend(), populate_buy_trend(), and populate_sell_trend() by the customization you have made previously into freqtrade/analyse.py
  3. Define minimal_roi, stoploss, and ticker_interval (You can remove them from your configuration)
  4. 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

Features and Bugfixes

Known Issues (Link):

Greetings

Thanks to @jblestang, @kryofly, @vertti, @shusso, @gcarq, @rohit366, @mijgame for your contributions

Don't miss a new freqtrade release

NewReleases is sending notifications on new releases.