OPEN-SOURCE SCRIPT
Güncellendi

Out of the Noise Intraday Strategy with VWAP [YuL]

1 013
This is my (naive) implementation of "Beat the Market An Effective Intraday Momentum Strategy for S&P500 ETF (SPY)" paper by Carlo Zarattini, Andrew Aziz, Andrea Barbon, so the credit goes to them.

It is supposed to run on SPY on 30-minute timeframe, there may be issues on other timeframes.
I've used settings that were used by the authors in the original paper to keep it close to the publication, but I understand that they are very aggressive and probably shouldn't be used like that.
Results are good, but not as good as they are stated in the paper (unsurprisingly?): returns are smaller and Sharpe is very low (which is actually weird given the returns and drawdown ratio), there are also margin calls if you enable margin check (and you should).

I have my own ideas of improvements which I will probably implement separately to keep this clean.
Sürüm Notları
2025-07-01: 1.01 - fixed moves calculation

My naive implementation was a bit too naive, after carefully checking my calculations I noticed a serious mistake in moves calculation. After fixing it, results are now much closer to the paper (although Sharpe is still too small than it looks it should be given the returns and the drawdown).

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.