Skip to content

Qiskit Finance 0.4.0

Compare
Choose a tag to compare
@t-imamichi t-imamichi released this 14 Nov 09:05
· 16 commits to main since this release
bd7ac7f

Prelude

Qiskit Finance has been migrated to the qiskit-community Github organization to further emphasize that it is a community-driven project. To reflect this change and because we are on-boarding additional code owners and maintainers, with this version (0.4) we have decided to remove all deprecated code, regardless of the time of its deprecation. This ensures that the new members of the development team do not have a large bulk of legacy code to maintain. This can mean one of two things for you as the end-user:

  • Nothing, if you already migrated your code and no longer rely on any deprecated features.

  • Otherwise, you need to migrate your code immediately. If you cannot do that, or want to continue using some of the features that were removed, you should pin your version of Qiskit Finance to 0.3.4

For more context on the changes around Qiskit Finance and the other application projects as well as the algorithms library in Qiskit, be sure to read this blog post.

Upgrade Notes

  • Added support for running with Python 3.10.

  • Support for running with Python 3.6 and 3.7 has been removed. To run Finance you need a minimum Python version of 3.8.

  • Drop pandas minimum version requirement restriction and increase yfinance minimum version to 0.1.70. The bug that broke yfinance upon upgrading to pandas>=1.4.0 has been fixed in the release version 0.1.70. Related links:

Bug Fixes

  • Compatibility fix to support Python 3.11.

  • Change the usage of the Y!Finance library to download multiple tickers in one thread and save its cache file in a temporary folder in order to avoid multithread/multiprocess race conditions.

Other Notes

Data providers’ usage of Quandl has been switched to Nasdaq Data Link since the Quandl python client has been discontinued and was replaced by Nasdaq Data Link. The previous Quandl url redirects to the new one at https://data.nasdaq.com/ . The userid/password and token there were preserved. There is no need to register again. More information at https://pypi.org/project/Nasdaq-Data-Link/