Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 1

[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-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apistreaming-prices
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

· Write an Answer
Upvote
Accepted
18.2k 21 13 21

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