Skip to content
Prev 14949 / 15274 Next

periodReturn at the acutual day

getSymbols and getQuote are not the same thing.

getSymbols("^IBEX",src="yahoo",from="1998-01-01")
last(IBEX)
#     IBEX.Open IBEX.High IBEX.Low IBEX.Close IBEX.Volume IBEX.Adjusted
#2020-08-
#07    6929.1    6961.8   6876.7     6950.5   184151000        6950.5

The data returned is from Friday, the 7th's close, not from Monday, the
10th, for me.

I assume that Yahoo probably updates their data once a day, sometime
after the official close is published, and their vendor updates.

The joys of trying to use free data.

Brian