Update example strategies to use process_only_new_candles=True

This commit is contained in:
froggleston
2023-07-15 19:06:51 +01:00
parent 89d3915a55
commit 6fce5f382b
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class Strategy001(IStrategy):
trailing_stop_positive_offset = 0.02
# run "populate_indicators" only for new candle
process_only_new_candles = False
process_only_new_candles = True
# Experimental settings (configuration will overide these if set)
use_exit_signal = True
@@ -44,7 +44,7 @@ class Strategy001_custom_exit(IStrategy):
trailing_stop_positive_offset = 0.02
# run "populate_indicators" only for new candle
process_only_new_candles = False
process_only_new_candles = True
# Experimental settings (configuration will overide these if set)
use_exit_signal = True
+1 -1
View File
@@ -44,7 +44,7 @@ class Strategy002(IStrategy):
trailing_stop_positive_offset = 0.02
# run "populate_indicators" only for new candle
process_only_new_candles = False
process_only_new_candles = True
# Experimental settings (configuration will overide these if set)
use_exit_signal = True
+1 -1
View File
@@ -44,7 +44,7 @@ class Strategy003(IStrategy):
trailing_stop_positive_offset = 0.02
# run "populate_indicators" only for new candle
process_only_new_candles = False
process_only_new_candles = True
# Experimental settings (configuration will overide these if set)
use_exit_signal = True
+1 -1
View File
@@ -43,7 +43,7 @@ class Strategy004(IStrategy):
trailing_stop_positive_offset = 0.02
# run "populate_indicators" only for new candle
process_only_new_candles = False
process_only_new_candles = True
# Experimental settings (configuration will overide these if set)
use_exit_signal = True
+1 -1
View File
@@ -45,7 +45,7 @@ class Strategy005(IStrategy):
trailing_stop_positive_offset = 0.02
# run "populate_indicators" only for new candle
process_only_new_candles = False
process_only_new_candles = True
# Experimental settings (configuration will overide these if set)
use_exit_signal = True
@@ -41,7 +41,7 @@ class ReinforcedAverageStrategy(IStrategy):
trailing_only_offset_is_reached = False
# run "populate_indicators" only for new candle
process_only_new_candles = False
process_only_new_candles = True
# Experimental settings (configuration will overide these if set)
use_exit_signal = True
@@ -41,7 +41,7 @@ class FAdxSmaStrategy(IStrategy):
# trailing_stop_positive_offset = 0.0 # Disabled / not configured
# Run "populate_indicators()" only for new candle.
process_only_new_candles = False
process_only_new_candles = True
# Number of candles the strategy requires before producing valid signals
startup_candle_count: int = 14
@@ -43,7 +43,7 @@ class FReinforcedStrategy(IStrategy):
# trailing_stop_positive_offset = 0.0 # Disabled / not configured
# Run "populate_indicators()" only for new candle.
process_only_new_candles = False
process_only_new_candles = True
# Number of candles the strategy requires before producing valid signals
startup_candle_count: int = 14