Description Usage Arguments Author(s) Examples
is_suspend
is_suspend
1 2 3 4 5 | is_suspend(TS, nearby = 0, datelist, stockID, drop,
datasrc = defaultDataSRC())
is_suspend(TS, nearby = 0, datelist, stockID, drop,
datasrc = defaultDataSRC())
|
nearby |
a integer vector. 0 means today, 1 means next tradingday. default is 0L. see detail in |
nearby |
a integer vector. 0 means today, 1 means next tradingday. default is 0L. see detail in |
Ruifei.yin
Ruifei.yin
1 2 3 4 5 6 7 8 | RebDates <- getRebDates(as.Date('2013-03-17'),as.Date('2016-04-17'),'month')
TS <- getTS(RebDates,'EI000985')
re <- is_suspend(TS) # Suspend of nextday
re1 <- is_suspend(TS,nearby=c(0,1))# Suspend of today and nextday
RebDates <- getRebDates(as.Date('2013-03-17'),as.Date('2016-04-17'),'month')
TS <- getTS(RebDates,'EI000985')
re <- is_suspend(TS) # Suspend of nextday
re1 <- is_suspend(TS,nearby=c(0,1))# Suspend of today and nextday
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.