Added support for using Qiskit Finance with Python 3.12.
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.
Added support for running with Python 3.10.
Support for running with Python 3.6 has been removed. To run Finance you need a minimum Python version of 3.7.
Support for running with Python 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:
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.
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/
Wrap all library circuits in
qiskit_finance.circuit.libraryinto gates such that when they are drawn they appear as blocks with their given name instead of the decomposition. For example
Fixed a handling error in the Yahoo provider when only one ticker is entered. Added exception error if no ticker is entered. Limit yfinance to >=0.1.62 as previous versions have a JSON decoder error.
qiskit_finance.applications.optimization.PortfolioOptimizationnow supports integer variables. So, users can decide how many assets they buy instead of just two choices, buy or not.