adapt to the new strategy
This commit is contained in:
@@ -261,7 +261,7 @@ class StrategyResolver(IResolver):
|
||||
)
|
||||
|
||||
if strategy:
|
||||
|
||||
strategy.can_short = config["trading_mode"] == "futures" and strategy.can_short
|
||||
return StrategyResolver.validate_strategy(strategy)
|
||||
|
||||
raise OperationalException(
|
||||
|
||||
Reference in New Issue
Block a user