Skip to content
Prev 1579 / 15274 Next

RMetrics fBasics market data retrieval and timeSeries functionality still being maintained at all?

David-Michael Lincke wrote:
What is your test ? --- useless if you don't tell us what you have done
This is wrong what you tell us.

Have you read the help pages ? --- I think definitely not.

yahooImport() is a function which delivers a web object of the download 
with many
information which is helpful for downloading data on a regular time 
schedule and to
store them in a database. Nota bene, there is a data slot which keeps 
the timeSeries
object.

For simply downloading a time series, you should use the function 
yahooSeries(). This
delivers a 'timeSeries' object.

Note, the download depends on the time format used by Yahoo. This has 
changed a few
months ago, noticed on this mailing list. --- Therefore you should use a 
recent version of
Rmetrics and you should also update your software on a regular base.
No, definitely not ...

Try ...

IBM = yahooSeries("IBM")
colnames(IBM)
par(mfrow = c(1,1))
plot(IBM[, "IBM.Open"], type = "l")
lines(IBM[, "IBM.Close"],col = "red")

Rmetrics has also many tailored plotting functions, plot is only
used for univariate timeSeries objects, multivariate timeSeries
objects can be displayed using the additional functions lines()
and points()!
What is asyt.ts ? --- We can only help if you tell us what you have done ...
I wan't comment this ....

ohlcDailyPlot() expects a timeSeries object with column names c("Open", 
"High", "Low", "Close", "Volume")
They can be in any order, but the names must be exactly the column names 
mentioned.

Try:

colnames(IBM) <- c("Open", "High", "Low", "Close", "Volume")
par(mfrow = c(2, 1))
ohlcDailyPlot(IBM)


... it works fine!

Diethelm

Thread (12 messages)

David-Michael Lincke RMetrics fBasics market data retrieval and timeSeries functionality still being maintained at all? Aug 10 Jeff Ryan RMetrics fBasics market data retrieval andtimeSeries functionality still being maintained at all? Aug 10 Diethelm Wuertz RMetrics fBasics market data retrieval and timeSeries functionality still being maintained at all? Aug 12 David-Michael Lincke RMetrics fBasics market data retrieval and timeSeries functionality still being maintained at all? Aug 12 Martin Maechler RMetrics fBasics market data retrieval and timeSeries functionality still being maintained at all? Aug 14 David-Michael Lincke RMetrics fBasics market data retrieval and timeSeries functionality still being maintained at all? Aug 14 Adam Gehr RMetrics fBasics market data retrieval and timeSeries functionality still being maintained at all? Aug 14 Dirk Eddelbuettel RMetrics fBasics market data retrieval and timeSeries functionality still being maintained at all? Aug 14 Praveen Kanakamedala RMetrics fBasics market data retrieval and timeSeries functionality still being maintained at all? Aug 14 David-Michael Lincke RMetrics fBasics market data retrieval andtimeSeries functionality still being maintained at all? Aug 14 Brian G. Peterson RMetrics fBasics market data retrieval andtimeSeries functionality still being maintained at all? Aug 14 Martin Maechler RMetrics fBasics market data retrieval andtimeSeries functionality still being maintained at all? Aug 15