Hi there,
I registered an App key with Thomson Reuters using the user id: kellen@aflatworld.com
Installed python module (eikon) for integration
When I run the test using the python script below:
import eikon as ek
ek.set_app_key('XXXXXXXXXXXb3b423d6401')
df = ek.get_timeseries(["MSFT.O"], start_date="2016-01-01", end_date="2016-01-10")
I am getting an error in the last line of the code. The error is as below:
Traceback (most recent call last):
File "c:\dev\python\reuters\test.py", line 10, in <module> df = ek.get_timeseries(["MSFT.O"], start_date="2016-01-01", end_date="2016-01-10")
File "C:\Python27\lib\site-packages\eikon\time_series.py", line 163, in get_timeseries ts_result = eikon.json_requests.send_json_request(TimeSeries_UDF_endpoint, payload, debug=debug)
File "C:\Python27\lib\site-packages\eikon\json_requests.py", line 85, in send_json_request timeout=60)
File "C:\Python27\lib\site-packages\requests\sessions.py", line 555, in post return self.request('POST', url, data=data, json=json, **kwargs)
File "C:\Python27\lib\site-packages\requests\sessions.py", line 494, in request prep = self.prepare_request(req)
File "C:\Python27\lib\site-packages\requests\sessions.py", line 437, in prepare_request hooks=merge_hooks(request.hooks, self.hooks),
File "C:\Python27\lib\site-packages\requests\models.py", line 305, in prepare self.prepare_url(url, params)
File "C:\Python27\lib\site-packages\requests\models.py", line 379, in prepare_url raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?
I have investigated at my end, but could not find a solution. Not sure if this is related to the account restrictions of the id: kellen@aflatworld.com
Any help would be greatly appreciated.
Thanks
Suresh