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
1 0 0 0

How can I select feed within Eikon's python Code Book

I have the option to view quotes on different feeds - Q for live or D for delayed. I only have delayed access to some quotes, how can I access these RICs within Code Book. This seems to default to Q (IDN_SELECTFEED)

import refinitiv.data as rd
from refinitiv.data.discovery import Chain

rd.open_session()

fchi = Chain(name="0#MCU-CLS")
#productpython 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.

1 Answer

· Write an Answer
Upvotes
10.5k 19 6 9

@matthew.walmsley Thanks for your question. So I think you need to change the service parameter in the definition. Say your default service is "IDN_SELECTFEED" - you can change it to another service say "IDN_DELAYEDFEED" as follows:

import refinitiv.data as rd
from refinitiv.data.content import pricing
rd.open_session()
ftse = pricing.chain.Definition("0#.FTSE",service="IDN_DELAYEDFEED").get_stream()
ftse.open()
ftse.constituents

Please let us know if this works for you. I hope this can help.

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.