For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 3

Service Discovery Issues

We were trying to go through a python sample code to access real time data from Real-time Optimized service, available at https://github.com/Refinitiv/websocket-api.. But it looks like we are not pointing to the right location, as it does not have the code including service discovery api call.

Can you please help us with the correct sample code for Real-Time Optimized in python?

pythonrrtorefinitiv-data-platform-libraries
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
32.2k 40 11 19

Hello @Spencer.Dixon,

Please refer to:

https://github.com/Refinitiv/websocket-api/tree/master/Applications/Examples/RDP/python

for the latest market_price_rdpgw_service_discovery.py example.

Would suggest following Quick Start - Connecting to Refinitiv Real-Time - Optimized prior, on in parallel, with the code example

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @Spencer.Dixon

I would like to add more information that all WebSocket API examples (Java, C#, and Python) for RTO are available on GitHub https://github.com/Refinitiv/websocket-api/tree/master/Applications/Examples/RDP page.

The service discovery examples are *ServiceDiscovery* example file of each language folder.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.