Can you beat SPY with SPY? And I'm not talking about these two guys. 

henrik-strand_1_1731154199.jpg

 

Image src: https://spy-vs-spy.fandom.com/wiki/Spy_vs_Spy

Markets tend to rise gradually but fall sharply. The strategy capitalizes on this asymmetry. By temporarily exiting the market when it dips below a certain threshold, we aim to avoid the steepest declines.

With less than 30 lines of code this strategy performs better than buy and hold considering both result and draw down.

Enjoy!

 

Disclaimer:This information is for educational purposes only and is not intended as financial advice. It's important to conduct your own thorough research and analysis before making any investment decisions. Investing involves risk, and past performance is not indicative of future results.