Skip to content

Commit

Permalink
Update reports.py (#1)
Browse files Browse the repository at this point in the history
update frequency indicator to be consistent with pandas changes
  • Loading branch information
kartiksubbarao authored Feb 24, 2024
1 parent 344e439 commit a536011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantstats_lumi/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ def metrics(
)
metrics["Win Quarter %%"] = (
_stats.win_rate(
df, compounded=compounded, aggregate="Q", prepare_returns=False
df, compounded=compounded, aggregate="QE", prepare_returns=False
)
* pct
)
Expand Down

0 comments on commit a536011

Please sign in to comment.