Looking for Elektron WebSocket API MRN Example with C++
Hi,
I would like to find more or less the same (if possible 100% equal):
https://github.com/Refinitiv-API-Samples/Example.WebSocketAPI.Python.MRN/tree/ERT-in-Cloud
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.
Best Answer
-
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.
EMA Consumer - Request & Decode Machine Readable News
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.
0
Answers
-
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:
- What you have access to? What are you licensed to use?
- Explain what you mean "RDP doesn't work well"?
thanks.
0 -
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)
a)https://github.com/Refinitiv-API-Samples/Example.RDPLibrary.DotNet.MRNStoryConsumer
https://github.com/Refinitiv-API-Samples/Example.RDPLibrary.DotNet/blob/master/src/2.%20Content/2.3-News/2.3.06-News-MRN/2.3.06-News-MRN.csb) https://github.com/Refinitiv-API-Samples/Example.RDPLibrary.DotNet
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:
https://github.com/Refinitiv-API-Samples/Example.WebSocketAPI.Python.MRN/tree/ERT-in-Cloud
So I'm looking for the same in C# or in C++
0 -
Another error message I have:
0 -
One more error message I have:
0 -
So as you can see, C#/RDP doesn't work well
0 -
Access Denied means that you are not licenced for MRN data - please discuss with your Refinitiv Account team to gain access to MRN data.
0 -
Please confirm which port you are trying to connect to for the Websocket - it should be port 15000 (and 443 for the Authentication server)
0 -
So I'm looking to this
https://github.com/Refinitiv-API-Samples/Example.WebSocketAPI.Python.MRN/tree/ERT-in-Cloud
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#)
0 -
There is no C# or C++ equivalent to the above Python example.
Did you try using this example: https://github.com/Refinitiv-API-Samples/Example.RDPLibrary.DotNet/tree/master/src/2.%20Content/2.3-News/2.3.06-News-MRN
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛