Hi, while trying to get data from eikon API , I am getting the followings errors :
#using eikon library :
import eikon as ek
ek.set_app_key('DEFAULT_CODE_BOOK_APP_KEY')
import json
df = ek.get_timeseries(['EUR='],start_date="2023-11-24",end_date="2023-11-27")
print(df)
error : Error code 403 | Client Error: Forbidden by proxy
#using refinitiv.data library
import refinitiv.data as rd
rd.open_session()
df = rd.get_data(universe = ['EUR='],fields = ['CF_CLOSE'] )
print(df)
error : refinitiv.data._errors.RDError: Error code -1 | Cannot load the list of associated URLs from http://localhost:9060/api/rdp/streaming/pricing/v1/ for apis.streaming.pricing.endpoints.main endpoint.
I tried to test the scripts above using Codebook and it works fine.
any help please ? Thanks.