Add test for can_short strategy attribute
This commit is contained in:
@@ -187,3 +187,7 @@ class StrategyTestV3(IStrategy):
|
||||
return round(orders[0].cost, 0)
|
||||
|
||||
return None
|
||||
|
||||
|
||||
class StrategyTestV3Futures(StrategyTestV3):
|
||||
can_short = True
|
||||
|
Reference in New Issue
Block a user