Hi
I'm trying to connect the python data api from spyder 3.3.6.
Using Eikon API Version 1.1.8
When i try this simple request:
import eikon as ek
ek.set_app_key('my key')
df = ek.get_timeseries(["MSFT.O"],
start_date="2016-01-01",
end_date="2016-01-10")
I get the following error message:
2021-02-26 09:16:21,835 P[10184] [MainThread 19780] Error code 500 | Server Error: {"code":500,"message":"connect ECONNREFUSED 159.220.1.19:443","statusMessage":"Internal Server Error"}
2021-02-26 09:16:21,838 P[10184] [MainThread 19780] HTTP request failed: EikonError-Server Error: {"code":500,"message":"connect ECONNREFUSED 159.220.1.19:443","statusMessage":"Internal Server Error"}
Then i tried this code:
import eikon as ek
ek.set_log_level(1)
ek.set_app_key("my key")
state = ek.get_desktop_session().get_open_state()
if state == ek.Session.State.Open:
ek.get_news_headlines('R:LHAG.DE', date_from='2019-03-06T09:00:00', date_to='2019-03-06T18:00:00')
The output of this request, i postet in the following .pdf
Eikon API Error 500.pdf
Does anyone have a clue, how to solve this problem?
Thank you very much for your help,
best wishes
Gregor