Stocks data
-
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 -
@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.
-
@support Some of the stragegies I submitted use stocks as indicators, could this become a problem?
-
@sun-73 We had network issues, could you try again to load them? Please note that support for stocks is experimental still.
-
@antinomy Hello, we did not announce stocks as support is experimental. Your submissions will run on the experimental stock dataset.
-
@support Yes, I can load now the stocks data. Thank you once again!