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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

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 ?

pythonelektronrefinitiv-realtimeelektron-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.

@cristian.matache

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Hello @cristian.matache

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

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.