Connect to RTO with service id and password

I have setup my service id and password with my account manager and after that I downloaded this:

GitHub - Refinitiv/Real-Time-SDK

Now I want to get started with the Login/connection to the API, and I was told to use my service id with the password.

When opening the CSharp solution in the git package, I see that step 1 is to make a connection. So I open the project "ConsMod1a_NET6.0" in the solution and in the .cs file i try to find the service id and password to replace, but I found none.

So how do I use this .cs file and my credentials to connect to RTO?


Also, it seems to be connecting to localhost, so another question is, where do i get the host and ports?

I watched this video 30 minutes to create a Real-Time Optimized consumer application | EMA Java | Devportal (refinitiv.com) but this is of course Java.

However I was expecting something similar in the CSharp solution, but its very different.

I noticed that in the video the guy was using EMA, whereas in the CSharp solution it seems to be using ETA.

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    Hi @dt02,

    The C# version of SDK is new and only supports ETA yet. The support for EMA is expected to be available in Q3 this year. EMA is much easier to use compared to ETA. If however you intend to continue using C# for development then there are two options for you -

    1. Use the ETA VAConsumer example. You can see the command line options for service account in the command line configuration parameters.

    2. Directly use the websockets API without the SDK. This is more work, and your application is responsible for decoding the messages and maintaining the ping timeouts etc. You can use service account credentials with it. See the MarketPriceRdpGwClientCredAuthExample example for parameters.

Answers