Displaying 1 result from an estimated 1 matches for "eurusd60".
Did you mean:
eurusd
2012 Jan 11
0
Error in charToDate(x)
...a csv file, the following way:
csv-file like:
Date,Open,High,Low,Close,Volume
2011-08-11 03:00:00,1.41758,1.42205,1.41625,1.42174,8974
...
2011-08-12 04:00:00,1.42175,1.42413,1.42067,1.42172,7229
...
2011-12-30 05:00:00,1.42173,1.42341,1.42062,1.42171,6703
...
raw<- read.delim2("~/R/Data/EURUSD60.csv",header=TRUE,sep=",")
stripday<-strptime(raw$DATE,format="%Y%m%d")
fxdata<-data.frame(stripday,raw)
write.table(fxdata,"~/R/Data/EURUSD60.csv",quote=FALSE,sep=",",row.names=FALSE)
EURUSD<-as.xts(read.zoo("~/R/Data/EURUSD60.csv"...