adapt to the new strategy

This commit is contained in:
longyu
2023-01-31 19:44:32 +01:00
parent d595d9000d
commit f61bd549b2
4 changed files with 185 additions and 103 deletions

View File

@@ -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(