question

Upvotes
Accepted
1 0 0 1

TRNA Python examples

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

pythonelektronrefinitiv-realtimeelektron-sdkmrn
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
1.9k 6 9 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea