RYpovertime<-c("RY") %>%
tq_get(get = "stock.prices", from = "2000-01-01")%>%
select(symbol, date, adjusted)
RY_daily_returns <- RYpovertime %>%
tq_mutate(select = adjusted,
mutate_fun = periodReturn,
period = "daily",
col_rename = "RY_returns")
ie. returns of 10% are recorded as 0.01 in the returns column, how can I change this decimal to a whole number?