Navigation

    Quantiacs Community

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

    Stocks data

    Support
    3
    6
    373
    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.
    • S
      Sun-73 last edited by

      Hi there,

      I'm trying to use stocks data (NYSE, NASDAQ) based on the code lines below (JupyterLab) but I get an error message. Any clue?

      Thank you!

      import qnt.data as qndata
      data = qndata.stocks.load_data(tail = 365, dims = ("time", "field", "asset"))
      print(data.asset)

      *ERROR:root:download error: assets
      Traceback (most recent call last):
      File "/root/book/qnt/data/common.py", line 78, in request_with_retry
      with urllib.request.urlopen(req, timeout=TIMEOUT) as response:
      File "/usr/local/lib/python3.7/urllib/request.py", line 222, in urlopen
      return opener.open(url, data, timeout)
      File "/usr/local/lib/python3.7/urllib/request.py", line 531, in open
      response = meth(req, response)
      File "/usr/local/lib/python3.7/urllib/request.py", line 641, in http_response
      'http', request, response, code, msg, hdrs)
      File "/usr/local/lib/python3.7/urllib/request.py", line 569, in error
      return self._call_chain(*args)
      File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
      result = func(args)
      File "/usr/local/lib/python3.7/urllib/request.py", line 649, in http_error_default
      raise HTTPError(req.full_url, code, msg, hdrs, fp)
      urllib.error.HTTPError: HTTP Error 500: Internal Server Error

      support 2 Replies Last reply Reply Quote 0
      • support
        support @Sun-73 last edited by

        @sun-73 Hello, thanks for pointing out. The framework we developed can handle stocks, but we are not providing stock data yet. Please wait, new asset classes will be added to the platform.

        A 1 Reply Last reply Reply Quote 0
        • A
          antinomy @support last edited by

          @support Some of the stragegies I submitted use stocks as indicators, could this become a problem?

          support 1 Reply Last reply Reply Quote 0
          • support
            support @Sun-73 last edited by

            @sun-73 We had network issues, could you try again to load them? Please note that support for stocks is experimental still.

            S 1 Reply Last reply Reply Quote 0
            • support
              support @antinomy last edited by

              @antinomy Hello, we did not announce stocks as support is experimental. Your submissions will run on the experimental stock dataset.

              1 Reply Last reply Reply Quote 0
              • S
                Sun-73 @support last edited by

                @support Yes, I can load now the stocks data. Thank you once again!

                1 Reply Last reply Reply Quote 1
                • 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