Skip to content

Commit

Permalink
Update qlib/contrib/strategy/rule_strategy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
you-n-g authored Dec 26, 2024
1 parent 5113bda commit 30feefb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qlib/contrib/strategy/rule_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def __init__(
self.instruments = "all"
if isinstance(instruments, str):
self.instruments = D.instruments(instruments)
if isinstance(instruments, List):
elif isinstance(instruments, List):
self.instruments = instruments
self.freq = freq
super(SBBStrategyEMA, self).__init__(
Expand Down

0 comments on commit 30feefb

Please sign in to comment.