Skip to content

Update quantstats requirement from ^0.0.64 to >=0.0.64,<0.0.82 - #19

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/quantstats-gte-0.0.64-and-lt-0.0.78
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/quantstats-gte-0.0.64-and-lt-0.0.78

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 8, 2026 •

Copy link
Copy Markdown

Updates the requirements on quantstats to permit the latest version.

Release notes

Sourced from quantstats's releases.

v0.0.81 - Bugfixes for 0.0.78 release

Bugfixes for 0.0.78 release

  • Fixed circular import errors that broke import quantstats (#499, #501)

  • Fixed NameError: name 'dd_get_stats' is not defined in reports.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() and reports.basic()

  • Added comprehensive test suite (125 tests):

    • Tests for stats, reports, utils, plots, compat, extend_pandas, and Monte Carlo
Changelog

Sourced from quantstats's changelog.

0.0.81

Bugfixes for 0.0.78 release

  • Fixed circular import errors that broke import quantstats (#499, #501)

  • Fixed NameError: name 'dd_get_stats' is not defined in reports.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() and reports.basic()

  • Added comprehensive test suite (125 tests):

    • Tests for stats, reports, utils, plots, compat, extend_pandas, and Monte Carlo

0.0.78

2026 Modernization Update

  • Added comprehensive type hints to stats.py functions:

    • All major public functions now have full type annotations
    • Uses Python 3.10+ union syntax (X | Y instead of Union[X, Y])
    • Added Returns type alias for pd.Series | pd.DataFrame
    • Functions typed include: ghpr(), outliers(), remove_outliers(), best(), worst(), consecutive_wins(), consecutive_losses(), exposure(), win_rate(), avg_return(), avg_win(), avg_loss(), rolling_volatility(), implied_volatility(), autocorr_penalty(), smart_sharpe(), rolling_sharpe(), smart_sortino(), rolling_sortino(), adjusted_sortino(), probabilistic_ratio(), probabilistic_sharpe_ratio(), and more
  • Simplified compatibility layers for Python 3.10+/pandas 2.0+/numpy 1.24+:

    • _compat.py: Removed obsolete pandas < 1.0.0 and < 1.4.0 version checks
    • _numpy_compat.py: Removed obsolete numpy < 1.17.0, < 1.21.0, and < 1.22.0 version checks
    • Cleaner, more maintainable codebase for modern dependency versions

0.0.77

  • Fixed issue #467 - CVaR calculation returning NaN for DataFrame inputs:

... (truncated)

Commits

@dependabot @github

dependabot Bot commented on behalf of github Aug 8, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies, python. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Updates the requirements on [quantstats](https://github.com/ranaroussi/quantstats) to permit the latest version.
- [Release notes](https://github.com/ranaroussi/quantstats/releases)
- [Changelog](https://github.com/ranaroussi/quantstats/blob/main/CHANGELOG.md)
- [Commits](ranaroussi/quantstats@0.0.64...v0.0.81)

---
updated-dependencies:
- dependency-name: quantstats
  dependency-version: 0.0.77
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Update quantstats requirement from ^0.0.64 to >=0.0.64,<0.0.78 Update quantstats requirement from ^0.0.64 to >=0.0.64,<0.0.82 Aug 14, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/quantstats-gte-0.0.64-and-lt-0.0.78 branch from 8ddaf05 to c2a6b4c Compare August 14, 2026 05:02
@dependabot @github

dependabot Bot commented on behalf of github Aug 15, 2026

Copy link
Copy Markdown
Author

Superseded by #30.

@dependabot dependabot Bot closed this Aug 15, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/quantstats-gte-0.0.64-and-lt-0.0.78 branch August 15, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants