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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 2 1 4

why no prices?

why am I not getting quotes/prices for this request? the markets are open...

python snippet:

streaming_prices = ek.StreamingPrices(

instruments = ['CAD=',"ESU1", "ESc1","SPXWr212133500.U"],

fields = ['CF_BID','CF_ASK','OPEN_PRC', 'CF_HIGH','CF_LOW', 'CF_CLOSE']

)

streaming_prices.open()

response:



InstrumentCF_BIDCF_ASKOPEN_PRCCF_HIGHCF_LOWCF_CLOSE0CAD=1.24751.24761.24631.24761.24371.24621ESU1<NA><NA><NA><NA><NA><NA>2ESc1<NA><NA><NA><NA><NA><NA>3SPXWr212133500.U<NA><NA><NA><NA><NA><NA>
eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikon
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.

Upvotes
Accepted
18k 21 12 20

Hi @opsp

The code is valid:


ahs.jpg


Can you confirm if you have enough permission to subscribe to these instruments?

ahs2.jpg


ahs.jpg (83.1 KiB)
ahs2.jpg (71.9 KiB)
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.

Upvotes
1 2 1 4

to be clear, I get prices for CAD, but not the ES futures...they should be live

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.

Upvotes
1 2 1 4

so it's confusing... your slightly different call works. (get_data vs get_snapshot after .streamingprices


any thoughts? is one not realtime?


thx

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.

Hi @opsp

I demonstrated that I can use both StreamingPrices() and get_data()

Both of them is realtime, StreamingPrices is a streaming request so you will get subsequence updates as well.

get_data() is a snapshot request, one request gets one response.


Please follow the code in 2nd picture and check the error return value as suggested.

This is to confirm if you have enough permission?


Click below to post an Idea Post Idea