ranaroussi / quantstats

Line too long FLK-E501
Style
Minor
2 occurrences in this check
line too long (98 > 88 characters)
1076            _stats.win_rate(df, compounded=compounded, aggregate="Q", prepare_returns=False) * pct
1077        )
1078        metrics["Win Year %%"] = (
1079            _stats.win_rate(df, compounded=compounded, aggregate="A", prepare_returns=False) * pct1080        )
1081
1082        if "benchmark" in df:
line too long (98 > 88 characters)
1073                            prepare_returns=False) * pct
1074        )
1075        metrics["Win Quarter %%"] = (
1076            _stats.win_rate(df, compounded=compounded, aggregate="Q", prepare_returns=False) * pct1077        )
1078        metrics["Win Year %%"] = (
1079            _stats.win_rate(df, compounded=compounded, aggregate="A", prepare_returns=False) * pct