question

Upvotes
Accepted

Same ETL logic written in Python

Client's query:

In fact, I do have a question for you. Our intraday ETL is written in C# and runs on an Azure pipeline. I've always been under the impression that our C# was taken from the Refnitiv Developer's portal. The code spans approximately 1,000 lines, and looks like it was written by someone with much more knowledge of your API than us. Can you tell me how I might find the same ETL logic written in Python?

Equivalently, on the portal, are we are an Eikon user, or perhaps a Datastream Web Service? We have, but I'm not using, Datascope. I think if we can figure out what product I'm using, I can locate the python code.

pythonrdp-apietl
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

Upvotes
Accepted
15.1k 40 12 18

Hi @Michael Ronald Cortez.Espinosa,

Which ETL is being referred here; what is the product? Since you posted under Refinitiv Data Platform, all our samples are available in Python and can downloaded from here. As far as I am aware, we don't provide any C# examples for RDP or Datastream. Only for DSS.


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.

Response from client @Gurpreet


I was looking at the code that our developer wrote approx. two years ago and thought it looked rather sophisticated. It just had a look of a larger effort than he would have had time for. I googled a few of the (long) variable names that are in his code and found them on GitHub.

I think he cobbled together our code from a bunch of examples that Refinitiv has published. They are located at:

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

If I'm right, we are using your websocket api. The top-level GitHub page for this api is located at

https://github.com/Refinitiv/websocket-api

Is this consistent with what you found? If so, we've located the associated Python code that I was looking for.

Gurpreet avatar image Gurpreet Michael Ronald Cortez.Espinosa

I think it is for you to confirm that client is indeed using RTO (websockets) product. If they are, then the python sample can be downloaded from here - https://github.com/Refinitiv/websocket-api/tree/master/Applications/Examples/python