We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have started to learn to code for finance. I havent touched the code since april, and in april it worked fine. Can anyone tell me whats wrong?
C:\Users\jonfh\OneDrive\Documents\Python>python test2.py Traceback (most recent call last): File "C:\Users\jonfh\OneDrive\Documents\Python\test2.py", line 13, in prices = web.DataReader('LSG.OL', 'yahoo', start, end)['Close'] File "C:\Users\jonfh\OneDrive\Documents\Python\lib\site-packages\pandas\util_decorators.py", line 199, in wrapper return func(*args, **kwargs) File "C:\Users\jonfh\OneDrive\Documents\Python\lib\site-packages\pandas_datareader\data.py", line 376, in DataReader return YahooDailyReader( File "C:\Users\jonfh\OneDrive\Documents\Python\lib\site-packages\pandas_datareader\base.py", line 253, in read df = self._read_one_data(self.url, params=self._get_params(self.symbols)) File "C:\Users\jonfh\OneDrive\Documents\Python\lib\site-packages\pandas_datareader\yahoo\daily.py", line 153, in _read_one_data resp = self._get_response(url, params=params) File "C:\Users\jonfh\OneDrive\Documents\Python\lib\site-packages\pandas_datareader\base.py", line 181, in _get_response raise RemoteDataError(msg) pandas_datareader._utils.RemoteDataError: Unable to read URL: https://finance.yahoo.com/quote/LSG.OL/history?period1=1546311600&period2=1577847599&interval=1d&frequency=1d&filter=history Response Text: b'\n \n \n \n <title>Yahoo</title>\n \n \n <style>\n html {\n height: 100%;\n }\n body {\n background: #fafafc url(https://s.yimg.com/nn/img/sad-panda-201402200631.png) 50% 50%;\n background-size: cover;\n height: 100%;\n text-align: center;\n font: 300 18px "helvetica neue", helvetica, verdana, tahoma, arial, sans-serif;\n }\n table {\n height: 100%;\n width: 100%;\n table-layout: fixed;\n border-collapse: collapse;\n border-spacing: 0;\n border: none;\n }\n h1 {\n font-size: 42px;\n font-weight: 400;\n color: #400090;\n }\n p {\n color: #1A1A1A;\n }\n #message-1 {\n font-weight: bold;\n margin: 0;\n }\n #message-2 {\n display: inline-block;\n *display: inline;\n zoom: 1;\n max-width: 17em;\n _width: 17em;\n }\n </style>\n <script>\n document.write('');var beacon = new Image();beacon.src="//bcn.fp.yahoo.com/p?s=1197757129&t="+new Date().getTime()+"&src=aws&err_url="+encodeURIComponent(document.URL)+"&err=%&test="+encodeURIComponent('%<{Bucket}cqh[:200]>');\n </script>\n \n \n \n \n
Thank you for your patience.
Our engineers are working quickly to resolve the issue.
The text was updated successfully, but these errors were encountered:
Consolidating to #867.
Sorry, something went wrong.
No branches or pull requests
I have started to learn to code for finance. I havent touched the code since april, and in april it worked fine. Can anyone tell me whats wrong?
C:\Users\jonfh\OneDrive\Documents\Python>python test2.py
');var beacon = new Image();beacon.src="//bcn.fp.yahoo.com/p?s=1197757129&t="+new Date().getTime()+"&src=aws&err_url="+encodeURIComponent(document.URL)+"&err=%&test="+encodeURIComponent('%<{Bucket}cqh[:200]>');\n </script>\n \n \n \n \n
\n \n \n \nTraceback (most recent call last):
File "C:\Users\jonfh\OneDrive\Documents\Python\test2.py", line 13, in
prices = web.DataReader('LSG.OL', 'yahoo', start, end)['Close']
File "C:\Users\jonfh\OneDrive\Documents\Python\lib\site-packages\pandas\util_decorators.py", line 199, in wrapper
return func(*args, **kwargs)
File "C:\Users\jonfh\OneDrive\Documents\Python\lib\site-packages\pandas_datareader\data.py", line 376, in DataReader
return YahooDailyReader(
File "C:\Users\jonfh\OneDrive\Documents\Python\lib\site-packages\pandas_datareader\base.py", line 253, in read
df = self._read_one_data(self.url, params=self._get_params(self.symbols))
File "C:\Users\jonfh\OneDrive\Documents\Python\lib\site-packages\pandas_datareader\yahoo\daily.py", line 153, in _read_one_data
resp = self._get_response(url, params=params)
File "C:\Users\jonfh\OneDrive\Documents\Python\lib\site-packages\pandas_datareader\base.py", line 181, in _get_response
raise RemoteDataError(msg)
pandas_datareader._utils.RemoteDataError: Unable to read URL: https://finance.yahoo.com/quote/LSG.OL/history?period1=1546311600&period2=1577847599&interval=1d&frequency=1d&filter=history
Response Text:
b'\n \n \n \n <title>Yahoo</title>\n \n \n <style>\n html {\n height: 100%;\n }\n body {\n background: #fafafc url(https://s.yimg.com/nn/img/sad-panda-201402200631.png) 50% 50%;\n background-size: cover;\n height: 100%;\n text-align: center;\n font: 300 18px "helvetica neue", helvetica, verdana, tahoma, arial, sans-serif;\n }\n table {\n height: 100%;\n width: 100%;\n table-layout: fixed;\n border-collapse: collapse;\n border-spacing: 0;\n border: none;\n }\n h1 {\n font-size: 42px;\n font-weight: 400;\n color: #400090;\n }\n p {\n color: #1A1A1A;\n }\n #message-1 {\n font-weight: bold;\n margin: 0;\n }\n #message-2 {\n display: inline-block;\n *display: inline;\n zoom: 1;\n max-width: 17em;\n _width: 17em;\n }\n </style>\n <script>\n document.write('
Will be right back...
\nThank you for your patience.
\nOur engineers are working quickly to resolve the issue.
\nThe text was updated successfully, but these errors were encountered: