Description Usage Arguments Examples
remove suspension stock from TS
1 | rm_suspend(TS, nearby = 1L, datasrc = defaultDataSRC())
|
TS |
|
nearby |
a integer vector. default is 1L, which means remove the suspending of the next tradingday. see detail in |
1 2 3 4 | RebDates <- getRebDates(as.Date('2013-03-17'),as.Date('2016-04-17'),'month')
TS <- getTS(RebDates,'EI000985')
re <- rm_suspend(TS) # remove Suspend of nextday
re1 <- rm_suspend(TS,nearby=c(0,1))# remove Suspend of today and nextday
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.