diff --git a/freqtrade/templates/base_strategy.py.j2 b/freqtrade/templates/base_strategy.py.j2 index 5c0e5e177..2e8250dd2 100644 --- a/freqtrade/templates/base_strategy.py.j2 +++ b/freqtrade/templates/base_strategy.py.j2 @@ -93,8 +93,8 @@ class {{ strategy }}(IStrategy): buy_rsi = IntParameter(10, 40, default=30, space="buy") sell_rsi = IntParameter(60, 90, default=70, space="sell") - {{ attributes | indent(4) }} - {{ plot_config | indent(4) }} + {{- attributes | indent(4) }} + {{- plot_config | indent(4) }} def informative_pairs(self): """ @@ -120,7 +120,7 @@ class {{ strategy }}(IStrategy): :param metadata: Additional information, like the currently traded pair :return: a Dataframe with all mandatory indicators for the strategies """ - {{ indicators | indent(8) }} + {{- indicators | indent(8) }} return dataframe @@ -172,4 +172,4 @@ class {{ strategy }}(IStrategy): 'exit_short'] = 1 """ return dataframe - {{ additional_methods | indent(4) }} + {{- additional_methods | indent(4) }}