getrptTS: getrptTS

Description Usage Arguments Value Author(s) Examples

Description

getrptTS

Usage

1
2
getrptTS(begT, endT, freq = c("q", "y", "h"), dir = 0, univ, rptDates,
  stocks)

Arguments

dir

1L,-1L,or 0L

Value

a rptTS object.a dataframe,with cols:

.IF rptDates or stocks is not missing then use them directly, else get rptDates and stocks by rptDate.get and getComps.

Author(s)

Ruifei.Yin

Examples

1
2
3
4
re1 <- getrptTS(begT=as.Date("2011-02-06"),endT=as.Date("2011-10-23"),univ="EI000300")
re2 <- getrptTS(rptDates=as.Date(c("2016-03-31","2016-09-30")),univ="EI000300")
re3 <- getrptTS(rptDates=as.Date(c("2016-03-31","2016-09-30")),stocks=c("EQ000001","EQ000002"))
re4 <- getrptTS(begT=as.Date("2011-02-06"),endT=as.Date("2011-10-23"),stocks=c("EQ000001","EQ000002"))

QuantAndrew/QDataGet documentation built on May 14, 2019, 7:35 a.m.