Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    AttributeError: module 'qnt.data' has no attribute 'stocks_load_spx_data'

    Support
    3
    4
    109
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nosaai
      nosaai last edited by

      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

      support V 2 Replies Last reply Reply Quote 0
      • support
        support @nosaai last edited by

        @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

        1 Reply Last reply Reply Quote 0
        • V
          Vyacheslav_B @nosaai last edited by

          @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
          
          nosaai 1 Reply Last reply Reply Quote 0
          • nosaai
            nosaai @Vyacheslav_B last edited by

            @vyacheslav_b Apologies for the late response. Thanks for the assistance, all is now well. Cheers

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | Contributors
            • Documentation
            • About
            • Career
            • My account
            • Privacy policy
            • Terms and Conditions
            • Cookies policy
            Home
            Copyright © 2014 - 2021 Quantiacs LLC.
            Powered by NodeBB | Contributors