Skip to content

Commit

Permalink
0.9.26 update
Browse files Browse the repository at this point in the history
  • Loading branch information
zengbin93 committed Aug 2, 2023
1 parent 500eb5d commit 657f9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion czsc/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ def evaluate(self, trade_dir: str = "多空") -> dict:
"""
from czsc.utils.stats import evaluate_pairs

p = evaluate_pairs(trade_dir)
p = evaluate_pairs(pd.DataFrame(self.pairs), trade_dir)
p.update(self.evaluate_holds(trade_dir))
return p

Expand Down

0 comments on commit 657f9f3

Please sign in to comment.