Openseries

Latest version: v1.8.0

Safety actively analyzes 714792 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 10

1.7.3

- Consolidated all_properties() method and its string validations.
- Simplified pandas.pct_change() after new pandas type stubs and fill_method no longer required by mypy.
- Simplified dependencies after bug in statsmodels resolved in version 0.14.3.
- Miscellaneous dependency and lockfile updates

1.7.2

- Replaced the dot operator from numpy and pandas with the Python operator.
- Made OpenTimeSeries Pydantic validator methods private.
- Adjustments to adhere to mypy unreachable code warnings.
- Removed table in security.md to limit maintenance.
- Removed setup_class from readme.md as it was deleted in version 1.7.1.
- Cosmetic improvements on raise exception statements.
- Limited dependency scipy version <1.14.1 due to bug in statsmodels
- Miscellaneous dependency updates

1.7.1

Commit with full changes is this one [10292b9](https://github.com/CaptorAB/openseries/commit/10292b934089d35a08d4d3ca2912c215573330d9)

- Changed so that resample_to_business_period_ends method on OpenFrame now retains original stubs on all constituent OpenTimeSeries.
- Made do_resample_to_business_period_ends private.
- Cleaned up calc_range and efficient_frontier functions.
- Improved calc_range test and exception message.
- Removed classmethod setup_class on OpenTimeSeries. Replaced with Pydantic field_validator decorator for domestic (currency) field and countries field.
- Made input type more strict on OpenTimeSeries.from_df().
- Introduced branch coverage and added tests to bring coverage back to 100% from 99%.
- Miscellaneous cleanup and depedencies updated.

1.7.0

- Changed code to enforce PEP 604 on typing. This means that the PACKAGE WILL NO LONGER WORK FOR PYTHON 3.9.
- Limited GitHub workflow build.yaml to no longer run on Python 3.9
- Adjustments to adhere to ruff TCH type checking imports.
- Introduced strict requirement that generate_calendar_date_range argument trading_days must be positive.
- Further simplified common simulation for CommonTestCase class.
- Removed unnecessary .resolve() from pathlib.Path and simplified Path.open()
- Made all Path.open() statements follow the same syntax.
- Cleaned up test setups and added tearDownClass method on common testcase class.
- Removed year from copyright notice in license.md
- Suppressed pycharm type checker on OpenFrame class.
- Miscellaneous dependency updates

1.6.0

- Added \_\_all__ where appropriate for proper import autocompletion and hinting
- Potentially BREAKING CHANGE in constrain_optimized_portfolios and efficient_frontier. They no longer take a single upper bound as argument but instead take both lower and upper bounds for each position in a portfolio. And if given they must all be given.
- Added option to set which method is passed into the scipy.minimize function that is used when finding the efficient frontier of a portfolio.
- BREAKING CHANGE - moved functions from frame.py to portfoliotools.py to improve project structure. Users will need to change imports because of this.
- Improved speed in portfoliotools tests.
- Miscellaneous dependency updates and tweaks in project tool scripts.

1.5.7

- Changed behaviour in get_previous_business_day_before_today() function. None input means days argument is set to zero and not raise Exception. This will eliminate scenario that I earlier believed was bug
- Simplified Github workflows install of Poetry
- Cut down functions in _risk.py module to simplify code. Moved code to inline in main modules instead
- Widened acceptance on holidays dependency while silencing its DeprecationWarning
- Widened acceptance on numpy dependency and checked that project can use numpy 2.0.0
- improved exception message on date_fixer.offset_business_days
- Removed utc timezone setting where datetime.date.today() used. Aimed for local timezone. Do not believe it will impact anything

Page 2 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.