[R] priceIts

Remigijus Lapinskas remigijus.lapinskas at mif.vu.lt
Thu Sep 29 06:31:10 CEST 2005

Dear All,

There is an example for the priceIts function (the its package) which 
does not work for me as expected.

 > ?priceIts
 >  x1 <- priceIts(instrument = c("^ftse"), start = "1998-01-01",
+                          quote = "Close")
Error in validObject(.Object) : invalid class "its" object: Missing 
values in dates
 >      x2 <- priceIts(instrument = c("^gdax"), start = "1998-01-01",
+                          quote = "Close")
Error in download.file(url, destfile, method = method, quiet = quiet) :
         cannot open URL 
In addition: Warning message:
cannot open: HTTP status was '404 Not Found'
 >      x <- union(x1,x2)
Error: Object "x1" not found
Error in union(x1, x2) : unable to find the argument 'x' in selecting a 
method for function 'union'
 >      names(x) <- c("FTSE","DAX")
 >      plot(x,lab=TRUE)

Any help appreciated.

Best wishes,

More information about the R-help mailing list