AttributeError: module 'qnt.data' has no attribute 'stocks_load_spx_data'
-
I am running my work in my local IDE. When running the examples, I get the following: AttributeError: module 'qnt.data' has no attribute 'stocks_load_spx_data'.
I looked through the library to find that stocks_load_spx_data is missing. Can you please clarify as this is the module we are instructed to use.
Thanks
-
@nosaai Hi,
which version of qnt library is used? We introduced that function about a year ago, with S&P500 stocks dataset, maybe try with the most recent qnt version. If the issue persists, please let us know.
Regards
-
@nosaai Hi.
Instructions on how to update the library can be found in the README: https://github.com/quantiacs/toolbox
Updating the conda environment
- Regularly update the QNT library for the latest features and fixes:
## you can remove the old one before that # conda remove -n qntdev quantiacs-source::qnt conda install -n qntdev quantiacs-source::qnt
Updating the pip environment
Use this command in your environment to install the latest version from the git repository:
python -m pip install --upgrade git+https://github.com/quantiacs/toolbox.git