Description Usage Arguments Value Author(s) Examples
getrptTS
1 2 |
dir |
1L,-1L,or 0L |
a rptTS object.a dataframe,with cols:
date: the rptDates
stockID: the stockID
.IF rptDates or stocks is not missing then use them directly, else get rptDates and stocks by rptDate.get
and getComps
.
Ruifei.Yin
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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.