0.0.76
-
Fixed issue #457 - Inconsistent benchmark EOY returns in reports:
- Benchmark yearly returns now remain consistent regardless of strategy's trading calendar
- HTML reports preserve original benchmark data for accurate EOY calculations
- Previously, benchmark returns would change when aligned to different strategies' trading days
- Added comprehensive tests to verify benchmark consistency across different comparisons
-
Improved timezone handling for cross-market comparisons:
- All resampling operations now normalize timezones to prevent comparison errors
- Mixed timezone-aware and timezone-naive data can now be compared without errors
- Data is converted to UTC then made timezone-naive for consistent comparisons
- Fixes "Cannot compare dtypes datetime64[ns] and datetime64[ns, UTC]" errors
-
Fixed FutureWarning for pandas pct_change():
- Updated all pct_change() calls to use fill_method=None parameter
- Prevents "fill_method='pad' is deprecated" warnings in pandas 2.x
- Ensures compatibility with future pandas versions