I’m trying to create an xts object for the intraday data (iprice.csv), and the codes below.
iprices <- read.csv(file="iprice.csv", header=TRUE) i