Rolling Window
A rolling window is a technique used in time series analysis to calculate statistics like standard deviation or moving averages over a fixed period that moves forward in time. As new data becomes available, the oldest data point is dropped, and the new one is added to the calculation.
This allows for the continuous monitoring of trends and volatility in a dynamic market. In cryptocurrency, a rolling window is essential for calculating volatility metrics that adapt to rapid market changes.
By adjusting the size of the window, analysts can focus on either short-term spikes or long-term trends. It is a fundamental tool for building automated trading systems that need to respond to current market conditions in real-time.