HTT:
Retrieves historic quotes within a given time interval for
the specified symbol.
Description
Retrieves historic quotes within a given time interval for
the specified symbol.
Usage
HTT(symbol, start, end, beginFilterTime = "", endFilterTime = "", tz="America/New_York")
Arguments
start
The starting date/time or just date.
end
The ending date/time or just date.
beginFilterTime
The beginning time of day (America/New_York) in the form "HHmmSS" (leave blank for all day).
endFilterTime
The ending time of day (America/New_York) in the form "HHmmSS" (leave blank for all day).
tz
The timezone code (defaults to "America/New_York").
Value
An xts time-series object with quote data over the requested interval.
Details
A basic attempt is made to interpret the date/time values. One may
very explicitly specify the date/time parameters in the following
format: "CCCC-MM-dd HH:mm:SS" and by specifying the tz
parameter.
Examples
Run this coderequire("iqfeed")
iqConf()
t0 <- "2010-01-18 15:25:00"
HTT("MSFT",start=t0)
Run the code above in your browser using DataLab