Add disable_dataframe_checks to strategy templates
This commit is contained in:
parent
28b35178e9
commit
a9c57e5147
@ -57,6 +57,10 @@ class {{ strategy }}(IStrategy):
|
|||||||
# Run "populate_indicators()" only for new candle.
|
# Run "populate_indicators()" only for new candle.
|
||||||
process_only_new_candles = False
|
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.
|
# These values can be overridden in the "ask_strategy" section in the config.
|
||||||
use_sell_signal = True
|
use_sell_signal = True
|
||||||
sell_profit_only = False
|
sell_profit_only = False
|
||||||
|
@ -58,6 +58,10 @@ class SampleStrategy(IStrategy):
|
|||||||
# Run "populate_indicators()" only for new candle.
|
# Run "populate_indicators()" only for new candle.
|
||||||
process_only_new_candles = False
|
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.
|
# These values can be overridden in the "ask_strategy" section in the config.
|
||||||
use_sell_signal = True
|
use_sell_signal = True
|
||||||
sell_profit_only = False
|
sell_profit_only = False
|
||||||
|
Loading…
Reference in New Issue
Block a user