fix env bug, allow example strat to short

This commit is contained in:
robcaulk
2022-08-21 19:43:39 +02:00
parent 8cd4daad0a
commit 8b3a8234ac
2 changed files with 23 additions and 35 deletions

View File

@@ -36,7 +36,7 @@ class ReinforcementLearningExample5ac(IStrategy):
stoploss = -0.05
use_exit_signal = True
startup_candle_count: int = 300
can_short = False
can_short = True
linear_roi_offset = DecimalParameter(
0.00, 0.02, default=0.005, space="sell", optimize=False, load=True