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
42 9 6 13

How do I retrieve a price for US92204A7028 Vanguard Information Technology Etf traded at NYSE ARCA?

I have attempted to retrieve a price for US92204A7028 Vanguard Information Technology Etf as follows:

df = ek.get_data('US92204A7028', ['TR.NETASSETVAL.date', 'TR.NETASSETVAL'],
                        {'SDate': '-2Y', 'EDate': '0D'})

to no avail. This is what I use for Mutual Funds and some ETF's (e.g. VanEck's).

For regular securities I use the code hereunder, now with the ripper code as parameter:

ek.get_timeseries(['40091394'], fields=['OPEN', 'CLOSE', 'HIGH', 'LOW', 'VOLUME','TR.FundSFFactor'],start_date='2020-01-01', end_date='2020-12-04')

This didn't produce meaningful results either.

Please clarify.

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-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.

Hi @vanderkroon ,

Thank you for your participation in the forum.


Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the appropriate reply.


This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.


Thanks,

-AHS


@vanderkroon

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

1 Answer

· Write an Answer
Upvotes
Accepted
32.2k 40 11 20

Hello @vanderkroon,

Try:

df, err = ek.get_data('VGT', ['TR.NETASSETVAL.date', 'TR.NETASSETVAL'],
                         {'SDate': '-2Y', 'EDate': '0D'})
df

It produces the net asset results, from my testing.

The difference seems to be, that 'US92204A7028' maps to many 'VGTx' RICs. Many of which do not support net asset values, according to DIB review.

For instance:

Hope this helps


vgt.gif (228.1 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.