I am looking for a rigorous way to determine a suitable rolling window size for my stock data. Factors that will influence the window size are how fine my data is (minutely, daily, weekly etc.) and how quickly the underlying assets are moving (which can be analysed using the discrete Fourier transform). E.g. FX prices would fluctuate much faster than equity prices.
Can anyone point to papers, suggestions or strategies to deal with this problem?