Where to get the hostname, port, username, appId information?

I am trying to run the CSharp example from the below github page :
websocket-api/MarketPriceExample.cs at master · Refinitiv/websocket-api · GitHub
Can you please help me from where to get the hostname, port, username, appId information?
Best Answer
-
Hi @jpatel2
Are you trying to connect to an internal RTDS server at your organisation? If so, your Market Data team can provide these details.
If you are trying to connect to our Real-Time Optimized service, then you should try this example instead websocket-api/Applications/Examples/RDP/CSharp at master · Refinitiv/websocket-api (github.com)
For Real-Time Optimised, you should have received a Welcome email containing a MachineID (which is the username), with a link to set a long password. The clientID can be set using the AppKey generator as described at QuickStart | Refinitiv Developers
If you do not have a MachineID, please discuss with your Market Data team or your Refinitiv account representative.
0
Answers
-
Hi @umer.nalla, Thank you for providing the information. The information provided is very helpful.
0 -
Hello @umer.nalla ,
I am running the below github sample code but I am getting below error when trying to connect to the internal RTDS.
websocket-api/MarketPriceExample.cs at master · Refinitiv/websocket-api · GitHub
8/19/2021 8:56:28 AM - Received Log Event (Level: Debug): A request to the server:
GET /WebSocket HTTP/1.1
User-Agent: websocket-sharp/1.0
Host: 159.43.120.70:14002
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: 1APYw+dESKAudLuJ6GeeQg==
Sec-WebSocket-Protocol: tr_json2
Sec-WebSocket-Version: 13
8/19/2021 8:56:28 AM - Received Log Event (Level: Debug): A response to this request:
HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=UTF-8
Connection: close
If I try to connect to the using WebSocket API Try it Now Documentation:
QuickStart | Refinitiv Developers
I am getting Error during WebSocket handshake: Unexpected response code: 503.
Any idea or suggestion on the above errors? Thanks.
0 -
Hi @jpatel2
The fact that you are getting errors with both the C# example and the TryIt Now document would suggest your RTDS connection details are wrong.
For one thing, the Websocket Port is normally on 15000 - but I can see you are using 14002 above.
Please try again with 15000 and if that does not work, check with your market data team they have definitely enabled the Websocket interface on the RTDS and which port they are using.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 48 Data Fusion
- 34 Data Model Discovery
- 694 Datastream
- 1.5K DSS
- 630 Eikon COM
- 5.2K Eikon Data APIs
- 12 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 4 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 561 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 281 Open PermID
- 46 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 732 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 96 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛