Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Extremely simple buy around payday

Using the theory that prices go up around pay-day more than other days on average due to capital flowing into the market on those days.

This backtest assumes some leverage (5x 100% of cash is exposed to the market on each trade). This could probably be done IRL with CFD's.

Algorithm goes long around 3 days before the end of the month (invests 5x portfolio into benchmark) and closes all portfolio positions around 8 days after the start of month. That's all it does. No TA, no fundamentals, no machine learning.

2 responses

This is known as the "turn of the month effect"

http://docs.lib.purdue.edu/cgi/viewcontent.cgi?article=1042&context=ciberwp

Thanks! Interesting :)