test: add custom parameter to test strategy

This commit is contained in:
Matthias
2025-11-05 20:14:28 +01:00
parent 1a2f261ee2
commit d1b553cecc
2 changed files with 5 additions and 0 deletions
@@ -35,6 +35,7 @@ class HyperoptableStrategy(StrategyTestV3):
sell_minusdi = DecimalParameter(
low=0, high=1, default=0.5001, decimals=3, space="sell", load=False
)
exitaaa = IntParameter(low=0, high=10, default=5, space="exit")
protection_enabled = BooleanParameter(default=True)
protection_cooldown_lookback = IntParameter([0, 50], default=30)