Error using Eikon Data API for TR fields

Hi,

I am trying to retrieve TR fields with C# doing this:

IEikon eikon = Eikon.CreateDataAPI(
eikon.SetAppKey(Credentials.AppKey)

var data = eikon.GetData("ES137069547=", "TR.IssuerRating");

But I am getting the following exception:

EikonDataAPI.EikonException: 'InternalServerError: No connection could be made because the target machine actively refused it 127.0.0.1:36036'

Could anyone help me to solve this issue please? Is there an alternative way to retrieve TR fields?

Thanks in advance

Best Answer

  • @YERAY SOSA ALONSO

    Do you have Eikon desktop application is running on the same machine where you execute your code? Eikon Desktop APIs have runtime dependency on Eikon desktop application running on the same machine.