[R-SIG-Finance] periodReturn at the acutual day

Pedro páramo percent||101 @end|ng |rom gm@||@com
Mon Aug 10 20:22:12 CEST 2020


Hi all,

I am using to make some statistical analysis this functions:

library(quantmod)
getSymbols("^IBEX",src="yahoo",from="1998-01-01")
MensualR = periodReturn(IBEX,period="monthly")
AnualR = periodReturn(IBEX,period="yearly")

The thing is that if I print MensualR or AnualR they "show" data to the
previous friday 07/08/2020

There is some way to obtain data to the actual date (not previous friday
close).

	[[alternative HTML version deleted]]



More information about the R-SIG-Finance mailing list