Add disable_dataframe_checks to strategy templates

This commit is contained in:
Matthias 2020-05-30 11:46:48 +02:00
parent 28b35178e9
commit a9c57e5147
2 changed files with 8 additions and 0 deletions

View File

@ -57,6 +57,10 @@ class {{ strategy }}(IStrategy):
# Run "populate_indicators()" only for new candle.
process_only_new_candles = False
# Disable checking the dataframe (converts the error into a warning message)
# Only use if you understand the implications!
disable_dataframe_checks: bool = False
# These values can be overridden in the "ask_strategy" section in the config.
use_sell_signal = True
sell_profit_only = False

View File

@ -58,6 +58,10 @@ class SampleStrategy(IStrategy):
# Run "populate_indicators()" only for new candle.
process_only_new_candles = False
# Disable checking the dataframe (converts the error into a warning message)
# Only use if you understand the implications!
disable_dataframe_checks: bool = False
# These values can be overridden in the "ask_strategy" section in the config.
use_sell_signal = True
sell_profit_only = False