For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

[Eikon Python API] How to specify the source in StreamingPrices?

I am looking for a solution to streaming data from a none default source. Notice there is a similar question raised last year:

https://community.developers.refinitiv.com/questions/41190/eikon-python-api-can-i-specify-the-source-from-whi.html

Where Alex mention streaming capability that will be able to retrieve market data from your TREP. And I am guessing it is StreamingPrices().

Say, in a spreadsheet I can use =RtGet(MY_SOURCE, MY_RIC, "Bid")

Is there any example I can follow to specify the source here?

I tried StreamingPrices(service = MY_SOURCE, instruments = MY_RIC, fields = ""Bid ). But it does not work.


Thanks in advance.

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonstreaming-prices
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

Upvote
Accepted
18k 21 12 20

Hi @HankunDaniel.You

According to the document for streaming data interface on Eikon Data API(Python) at https://developers.refinitiv.com/eikon-apis/eikon-data-api/learning?content=81721&type=learning_material_item (updated in Feb 2020), the capability to select source/feed has not been introduced yet.

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