question

Upvotes
Accepted
1 0 1 1

How do I get specific funds monthly closing prices for a 5 year time period?

I have specific funds that I'm trying to find information on. I need their monthly closing prices for a 5 year Time period. How can I get this? I tried to search for the funds using their name, but I cannot find the closing price data (or nav).

eikondatastream-apidsws-apifunds
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
Accepted
32.2k 40 11 20

Hello @hanken2,

Would something like this work for your requirements?

 ds.get_data (tickers='<VO>, <VTI>, <VOO>', fields=['P'], start='-5Y', freq='M')

A disclaimer, I am not a Datastream expert, just basing on analogy with Datastream examples and using Documentation as reference, for me brings back closing prices for Vanguard funds:


dsfunds.gif (27.8 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.