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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
40 5 5 11

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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.

1 Answer

Upvotes
Accepted
23k 22 9 14

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea