Bugfixes for 0.0.78 release
-
Fixed circular import errors that broke
import quantstats(#499, #501) -
Fixed
NameError: name 'dd_get_stats' is not definedinreports.full()(#502) -
Fixed
reports.html()to work without specifying output file (opens in browser) -
Fixed
profit_ratio()to handle DataFrame inputs properly -
Removed dark mode CSS from HTML report template
-
Suppressed pandas FutureWarning for callable resampler.apply()
-
Improved HTML report header:
- Title shows "(Compounded)" only when compounded=True
- Date range shows "(matched dates)" only when match_dates=True with benchmark
- Parameters now always show Benchmark, Periods/Year, and RF rate
-
Added new metrics to full HTML report:
- Ulcer Performance Index, Risk-Adjusted Return, Risk-Return Ratio
- Avg. Return, Avg. Win, Avg. Loss, Win/Loss Ratio, Profit Ratio
-
Added terminal output parameters table for
reports.full()andreports.basic() -
Added comprehensive test suite (125 tests):
- Tests for stats, reports, utils, plots, compat, extend_pandas, and Monte Carlo