Description Usage Arguments Examples
remove price limits
1 2 | rm_priceLimit(TS, nearby = 1, lim = c(-10, 10), priceType = c("close",
"open"), datasrc = defaultDataSRC())
|
lim |
a vector of length 2. |
priceType |
"close" or "open". |
1 2 3 4 5 | RebDates <- getRebDates(as.Date('2013-03-17'),as.Date('2016-04-17'),'month')
TS <- getTS(RebDates,'EI000985')
re <- rm_priceLimit(TS)
re1 <- rm_priceLimit(TS,nearby=-1:1)
re2 <- rm_priceLimit(TS,lim=c(-Inf,10)) # remove limit-up
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.