I would like to find more or less the same (if possible 100% equal):
but in C++ so I don't need to translate it line by line and start this application from scratch.
Is it possible to have a WebSocket API MRN Example in C++
(NOT RDP, because RDP doesn't work well :-( ), no TREP I don't have TREP, just WebSocket API MRN consumer in C++ as simple as possible
Thanks in advance
PS. It is impossible to find C# example, we have already cleared that up here:
So now let's hope to have a C++ example at least.
We don't have any C++ Websocket examples as most of our C++ client developers use the RTSDK - specifically the Enterprise Message API - rather than Websocket API.
Although the above MRN tutorial connects to an ADS, we do have general EMA examples that can connect to RRTO as demonstrated in the QuickStart - Connect to RRTO
Once you work through the RRTO Quickstart and understand how the code for example 113 works, you can merge the 113 Initialisation + session code with the MRN Tutorial code - to achieve your required example.
I noticed you asked a similar question on this thread.
You state you don't have a locally deployed instance (TREP) you can connect into and you state "RDP doesn't work well". Unfortunately, that doesn't leave you with much left. The language isn't the concern but your requirements of where you want to connect to.
The question is, what do you have access to?
If you have a license to stream data, then you may have access to the OMM-based streaming services. With that, you can utilize the RealTime SDK - C/C++.
I think we need to first establish:
1. I have tried this example in Python https://github.com/Refinitiv-API-Samples/Example.WebSocketAPI.Python.MRN/tree/ERT-in-Cloud and it works I discovered the hostname: emea-3-t1.streaming-pricing-api.refinitiv.com
I have access to Refinitiv Real-Time optimized. I need to read only
MRN_STORY and MRN_TRNA. nothing else.
2. I downloaded and tried some example from a), b)
and I cannot make it work, it is not stable. Sometimes I can download something but it generates an exception pretty quickly. I have tried to run both from a computer connected directly to internet and behind a proxy.
Examples of errors:
I always use the same credentials for C# RDP and Python and
only this Python example works for me:
So I'm looking for the same in C# or in C++
So I'm looking to this
but in C# or if not possible in C++.
I'd like the same simple approach as in Python but in C# (or in C++ if not available in C#)