question

Upvotes
Accepted
1 0 1 1

TRNA Python examples

I am new to these systems. Can someone please provide a Python example to get some TRNA data ?

pythonrefinitiv-realtimeelektronelektron-sdkmrn
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
1.9k 7 11 16

There are language specific APIs to retrieve real-time data from the server such as Elektron-SDK (C/C++, Java), RFA (C++, Java, .NET), SFC (C++, Java, COM).

Unlike WebSocket API, it uses WebSocket and JSON as underlying technologies. Therefore, you can implement other client-technology standards (e.g. Python, R) to realize this communication approach.

Note: TREP 3.2 is required for WebSocket API.

Currently, there is no TRNA subscription example in Python available. However, you can refer to other generic Python examples in a Download section of WebSocket API to get an idea of data subscription. Then, you need to modify the code to perform a special TRNA task such as unzip and re-assemble payload content. Please check MRN DATA MODELS AND ELEKTRON IMPLEMENTATION GUIDE for more details.

Hope this helps.

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.

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.