mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Update FreqaiExampleStrategy.py
Change can_short to True to enable shorting
This commit is contained in:
parent
52dfb0452c
commit
73114b93c2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user