I have a trading system based on Machine Learning which is trading 8 symbols intraday. From the results I found out that some weeks of trading are successful for some symbols, then it usually switches to unsuccessful next week for previously successful symbol. At the same time another symbol which was unsuccessful previous week start to be successful this week.

As an explanation to this phenomenon it comes to my mind that the underlying symbol series switching from stationary to non stationary and vice versa.

So my question is: did somebody tried intraday (1 min data) stationarity test on FOREX or S&P ??? I believe such test should be'data window based' with sliding window than what would be a size of such window ???

What method would be the best for such test (DF, ADF, KPSS ) or other ???

regards, Krzysztof

  • $\begingroup$ What is the average holding time of a position? $\endgroup$
    – dkhokhlov
    Commented May 9, 2016 at 0:21
  • $\begingroup$ 10-24 hours depends of market $\endgroup$ Commented May 9, 2016 at 9:51

1 Answer 1


We assume weak stationarity definition. Price level is non-stationary. Trend-stationarity is like following a trend, not working on this time scale. So need to use returns. Returns on interval <15min are dominated by bid-ask bounce. Useless, trap. So test should be using >15min returns on window interval W < (hold time / N), N = 2-4. Then Unit root test p value can give some degree of stationarity to speculate further in context of specific trading system.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.