ignore_roi_if_buy_signal -> ignore_roi_if_entry_signal

This commit is contained in:
Matthias
2022-04-05 20:20:51 +02:00
parent 5bafdb6108
commit b1378efdeb
17 changed files with 42 additions and 38 deletions

View File

@@ -67,7 +67,7 @@ class {{ strategy }}(IStrategy):
# These values can be overridden in the config.
use_exit_signal = True
exit_profit_only = False
ignore_roi_if_buy_signal = False
ignore_roi_if_entry_signal = False
# Number of candles the strategy requires before producing valid signals
startup_candle_count: int = 30

View File

@@ -67,7 +67,7 @@ class SampleStrategy(IStrategy):
# These values can be overridden in the config.
use_exit_signal = True
exit_profit_only = False
ignore_roi_if_buy_signal = False
ignore_roi_if_entry_signal = False
# Hyperoptable parameters
buy_rsi = IntParameter(low=1, high=50, default=30, space='buy', optimize=True, load=True)