Add disable_dataframe_checks to strategy templates
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user