question

Upvotes
Accepted
1 0 1 2

Hostname/IP and port of the specific streaming server for Refinitiv Data Library for Python

Hello, I am trying to use the Refinitiv Data Library for Python. I have access to all the other required access credential, however I am having difficulties locating the following:

  • Hostname/IP and port of the specific streaming server

Can you kindly help?

Thanks

python#technologyrdp-api
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.

Hi @a.danso, may I ask for some color? Do you have an error that you could share a screenshot of? If not, how about your script where you are trying your API call? I'm asking for the later in case you are trying to use the delivery layer with a platform session, which you very well might be.

I am trying to follow the instructions from the following:

https://developers.refinitiv.com/en/api-catalog/refinitiv-data-platform/refinitiv-data-library-for-python/quick-start


I have downloaded the github repository at this link

https://github.com/Refinitiv-API-Samples/Example.DataLibrary.python

and entered my userID, password and appkey in the Configuration files. However, I am having troubles finding the realtime-distribution-system url and DACS username (even though it says in the quickstart page that this should be optional).

Further, I am unsure where to locate the Hostname/IP and port of the specific streaming server.

Thanks

config.png

config.png (53.2 KiB)
Hi @a.danso ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text on the left side of the appropriate reply? This will guide all community members who have a similar 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

Upvotes
Accepted
79.2k 251 52 74

@a.danso

You need to follow the steps mentioned in the Eikon Data API(Python) Troubleshooting article to make sure that the Eikon API Proxy is running properly.

Then, please try to update the version of Eikon Data API to the latest version (eikon 1.1.16).

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.

Upvote
24.7k 54 17 14

Hello @a.danso

The configuration in the "realtime-distribution-system" configuration node is only for the deployed RTDS (Refinitiv Real-Time Distribution System) scenario. You must contact your Market Data to get your RTDS information.

However, if you want to consume data from the Cloud solution (Refinitiv Real-Time Optimized, aka RTO), you need to put your Machine ID credentials in the "platform"/"rdp" node. The Credentials are as follows:

  • Machine ID (GE-XXXXXX): Machine ID provided to you - in a Welcome email from Refinitiv
  • Password: The Machine Password you have set using a link in the above Welcome email
  • App Key: An Application Key used to monitor the application. Users can generate/manage their application IDs here.

You can find more detail about the Machine ID credentials in the "Getting Started for Machine ID" section of this https://developers.refinitiv.com/en/article-catalog/article/getting-start-with-refinitiv-data-platform article.
You can find the Streaming Price tutorial at this https://developers.refinitiv.com/en/article-catalog/article/getting-start-with-refinitiv-data-platform tutorial.

Please contact your representative if you do not have the Machine ID type credential.

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.


Feed back to the development team:

It is not clear to me if the rdp Streaming Price tutorial at this https://developers.refinitiv.com/en/article-catalog/article/getting-start-with-refinitiv-data-platform tutorial is supported/usable with the new rd module.

In fact, the co-mingling of rdp and rd example, support forums, etc is really very unfortunate. If users go the rdp site on github, they will not be aware that it is deprecated unless they click on the link to the homepage.

Further, there are no actual examples on the rd GitHub, just Jupiter Notebook snippets, and those show several inconsistences, such as the use of url in different contexts.

Finally, any module you release should, as job number 1, be able to connect and consume from a deployed RTDS without requiring an APP_KEY.

Upvotes
1 0 1 2

Thank you for the details.

It appears retrieving the Machine ID and Machine Password is a harder task then expected.


I have found some old code where I was able to connect to the Eikon API via the python package 'eikon' (rather than using the newer package 'refinitiv.data', which I can't seem to be able to access as I am currently missing the Machine ID and Machine Password). However, I now receive this error every time I try to connect to the API using any App Key (either it be an old key or a brand new one).

I am running the 1.1.10 Eikon version and Python version 3.8.16

Many thankseikon-error.png


eikon-error.png (58.2 KiB)
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.