Refinitiv Real-Time -- Optimized

skumar
skumar Newcomer

I am trying to access the market data using Eikon data API c++ ( Refinitiv Real-Time -- Optimized). ---> Is this the correct API for C++?


If yes, I am using the cons113 example to test connectivity into RTO , To set up the configuration I have my userID, password, client ID, However I am not sure what the consumer name should be here?


image


I get this exception when I execute the cons113 build.

Tagged:

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @skumar

    The attached image is broken. Can you re-upload the image?

    About how to run the Cons113 example, you can check the step-by-step guides from the Cons113 (RTO test) section of the RTSDK C++ Quick Start page.

    According to the Cons113 example code (Consumer.cpp file), it uses the following Consumer configuration from the EmaConfig.xml file:

    • Consumer_4: Connect to the RTO via Refinitiv proprietary RSSL (TCP) connection)
    • Consumer_5: Connect to the RTO via the WebSocket connection

    You do not need to set a Consumer Name or IP/Port manually.

Answers

  • skumar
    skumar Newcomer

    1655106865837.png

    Hi@ wasin.w, sorry , re-uploaded the image,

    why I get this error when I execute Cons113?

  • Hello @skumar

    It seems you are running the application from the Visual Studio. Please try the following steps to add the EmaConfig.xml file to your Cons113 project.

    Firstly, copy the EmaConfig.xml file from the <RTSDK-2.0.5.L1.win.rrg>\Cpp-C\Ema folder to your Cons113 folder.

    add-ema-configxml-1.png

    Next, add the EmaConfig.xml file to the Cons113 project by right-clicking on the Cons113 --> Add --> exiting item... --> choose the EmaConfig.xml file

    add-ema-configxml-2.png

    Then, build and run the Cons113 example application.

  • skumar
    skumar Newcomer

    Thankyou @wasin.w , the execution proceed, however I get this error now.


    1655108213814.png

  • Hello @skumar

    Please be informed that the RTSDK C++ needs the Libcurl, zlib, lz, and OpenSSL libraries for the RTO connection.

    The Libcurl, zlib and lz libraries are available at <RTSDK C++ folder>\installdb\WIN_64_VSxxx\bin folder. You can copy all files to the <RTSDK C++ folder>\Cpp-C\Ema\Executables\WIN_64_VSxxx\Debug_MDd folder.

    You can download the OpenSSL version 1.1.1 from the Win32 OpenSSL page. Once the library is installed, copy the libssl-1_1-x64.dll file to the <RTSDK C++ folder>\Cpp-C\Ema\Executables\WIN_64_VSxxx\Debug_MDd folder.