We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b4d39 commit ec313dfCopy full SHA for ec313df
CHANGELOG.md
@@ -1,6 +1,15 @@
1
Changelog
2
===========
3
4
+0.0.73
5
+------
6
+
7
+- Fixed payoff_ratio to handle DataFrame inputs properly (fixes issue #463)
8
+ - When using qs.reports.html with a benchmark, payoff_ratio receives a DataFrame
9
+ - Previously caused "ValueError: truth value of Series is ambiguous"
10
+ - Now properly handles both Series and scalar avg_loss values
11
+ - Returns Series for DataFrame inputs, scalar for Series inputs
12
13
0.0.72
14
------
15
quantstats/version.py
@@ -1 +1 @@
-version = "0.0.72"
+version = "0.0.73"
0 commit comments