Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Moving Average Optimization trading PLL

This is a Moving Average Optimization trading PLL. The PLL buy and hold is provided for comparison. Any ideas on how to further optimize performance?

2 responses

Hey, I tried it with various stocks, but it seems to take positions everyday with all stocks. Is there anyway to alter it?

Eventhough I change 1.06 to 1.8 there's no difference in the trades executed.
f ma_fast < ma_slow * 1.06 and buy_num > 0 and shares < 1.0:
order(sec, buy_num) # Buy
Any advice?
Thanks for putting this algo together!