Update FreqaiExampleStrategy.py

Change can_short to True to enable shorting
This commit is contained in:
paranoidandy 2023-01-03 15:11:46 +00:00 committed by GitHub
parent 52dfb0452c
commit 73114b93c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ class FreqaiExampleStrategy(IStrategy):
use_exit_signal = True
# this is the maximum period fed to talib (timeframe independent)
startup_candle_count: int = 40
can_short = False
can_short = True
std_dev_multiplier_buy = CategoricalParameter(
[0.75, 1, 1.25, 1.5, 1.75], default=1.25, space="buy", optimize=True)