Say you have an Exponential Moving Average being continuously updated over a time series using 1-second-long time periods. What should happen if there is no value for the next second, e.g. there were no price updates? Should the function decay in some way since there are no new values? Is there a correct or accepted way of handling this case?
Tell me more
×
Quantitative Finance Stack Exchange is a question and answer site for
finance professionals and academics. It's 100% free, no registration required.
|
You can either
I generally prefer the second option, which should cause a decay. Only go for the first option if your application won't change its logic based on missing data. |
|||||
|
|
You should look into inhomogeneous time series operators. The original reference for this work is Zumbach and Muller (2001). An excellent introduction to the material can be found in An Introduction to High-Frequency Finance, starting on page 59. I also found online a book chapter from Modeling Financial Time Series with S-PLUS that includes code for the inhomogeneous EMA (section 9.2.4). |
|||
|
|