HTT: Retrieves historic quotes within a given time interval for...

Description Usage Arguments Details Value Author(s) Examples

Description

Retrieves historic quotes within a given time interval for the specified symbol.

Usage

1
HTT(symbol, start, end, beginFilterTime = "", endFilterTime = "", tz="America/New_York")

Arguments

symbol

Any valid symbol.

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").

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.

Value

An xts time-series object with quote data over the requested interval.

Author(s)

B. W. Lewis

Examples

1
2
3
4
require("iqfeed")
iqConf()
t0 <- "2010-01-18 15:25:00"
HTT("MSFT",start=t0)

bwlewis/iqfeed documentation built on May 13, 2019, 9:06 a.m.