Hi,
I am experiencing an issue running Python (3.9) Script calling Eikon API (1.1.16) under Anaconda/Spyder IDE environment (4.2.5) under Windows. Below error message is issued with no port number allocated>
Error message :
2023-07-21 15:52:00,752 P[1928] [MainThread 18932] Error on handshake url http://127.0.0.1:None/api/handshake : UnsupportedProtocol("The request to ':///' is missing either an 'http://'; or 'https://'; protocol.")
2023-07-21 15:52:00,752 P[1928] [MainThread 18932] Error on handshake url http://127.0.0.1:None/api/handshake : UnsupportedProtocol("The request to ':///' is missing either an 'http://'; or 'https://'; protocol.")
2023-07-21 15:52:00,752 P[1928] [MainThread 18932] Port number was not identified, cannot send any request
Eikon API is running.Same piece of code is working under EIKON CODEBOOK and test on browser are showing that port 900 and 9060 are available.
Seems SPYDER is not able to assigned port number when running script?
Code sample:
#coding:utf-8
import eikon as ek
Cme_Code=['CZ3']
ek.set_app_key("APPKEY")
df=ek.get_timeseries(items,'CLOSE',interval='daily',start_date='2020-jan-01',end_date='2023-mar-30')
Any idea what is possible resolution or any specific setting to check with Spyder ?