Skip to content
Prev 3078 / 15274 Next

Quotes every minute

One quick note:

getQuote does _not_ return an xts object.  At present that isn't
possible since the the timestamps/index values would be duplicates.
It is a data.frame.  The original purpose of the function was less for
data, and more for seeing what is going on in the market without
picking my head up. :)

That said, the first column _is_ a POSIXct object.
'data.frame':   1 obs. of  1 variable:
 $ Trade Time: POSIXct, format: "2008-10-23 12:44:00"

It is quite extensible though.  Take a look at ?yahooQF

As Brian said, there are quite a few places in recent R-sig-finance
history where you will find info on splitting POSIXct into and out of
a string.

Jeff
On Thu, Oct 23, 2008 at 11:56 AM, Brian G. Peterson <brian at braverock.com> wrote: