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

eikon api streamingprice can only stream currency prices

Hi, I'm trying to stream prices of different assets using the eikon api, but I can only stream currency prices e.g. GBP=, ETH= etc. When I try to stream equity prices such as AAPL.O or IBM it returns <NA>. Is it possible to stream prices of other instruments? Also, where can I find the full documentation for all methods including streamingprices? Thanks

import eikon as ek
import time

ek.set_app_key('~')

streaming_prices = ek.StreamingPrices(
    instruments = ['AAPL.O],
    fields   = ['TIMACT','CF_BID','CF_ASK']
)

streaming_prices.open()

while True:
    
    time.sleep(1)
    df = streaming_prices.get_snapshot()
    print(df)
    
eikon-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.

Upvote
Accepted
23.2k 60 15 21

Yes, other instruments can be streamed as well. Most likely, you are on a trial account and do not have access to the fee liable equities data. Please check with your Refinitiv account manager.

For help with Eikon, I recommend starting from a Quickstart and then the tutorials.

1663703746853.png


1663703746853.png (21.0 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.

Upvote
23.2k 60 15 21

You can also access python function built in help like help(ek) etc:

1663703907412.png


1663703907412.png (17.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.