Skip to content
Prev 3249 / 15274 Next

How to read minutes data from csv files with getSymbol in quantmod?

A workaround would be to use read.zoo directly.  Try this:

z <- read.zoo("/tmp2/testeuro.csv", header = TRUE, sep = ",", tz = "")

If you use POSIXct you may wish to set your session to "GMT" to avoid time
zone problems.

Sys.setenv(TZ = "GMT")

or use chron which has no time zones in the first place:

library(chron)
z <- read.zoo("/tmp2/testeuro.csv", header = TRUE, sep = ",", FUN = as.chron)


2008/11/24 Wind <windspeedo at qq.com>: