Skip to content

Commit 83e5a15

Browse files
committed
chore: fix flake8 error in CI
1 parent a6ab00f commit 83e5a15

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

qlib/contrib/strategy/signal_strategy.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,9 +619,6 @@ def get_last_n(li, n):
619619
def filter_stock(li):
620620
return li
621621

622-
# Use instance configuration; keep behavior unchanged (no external kwargs expected here)
623-
risk_aversion = copy.deepcopy(getattr(self, "risk_aversion", None))
624-
625622
current_temp: Position = copy.deepcopy(self.trade_position)
626623

627624
# Build current long/short lists by sign of amount

0 commit comments

Comments
 (0)