Resolved: Your starting values are wrong for some reason
in 1995-01-03, the Adj Close for PG is 8.06. You have it has 9.17 instead. Why is this so? When I did it, I got the correct value, i.e. 8.06.
Hi Marcus!
Thanks for reaching out.
What you observe is normal. The adjusted closing price is being changed (i.e. adjusted) over time for stock splits and dividend payments. Therefore, if we retrieve the adjusted closing price today or a year from now, we expect to always observe a difference in the value.
In the course lectures, you encounter the values we've retrieved while recording the videos. The values that are relevant to today are the ones you obtain at your end. Therefore, what matters is use the correct code to obtain the desired data, as well as be aware of why adjusted closing prices change over time.
Hope this helps.
Best,
Martin
Understood, thank you!
You are very welcome!
Best,
Martin