question

Upvotes
Accepted
1 0 0 0

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

1 Answer

Upvotes
Accepted
23k 22 9 14

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

Click below to post an Idea Post Idea