Hi everyone,
I am new to Quantopian and got some questions while testing simple MA crossover. Though I have searched similar questions for a while, not sure if there are solutions out there. I would appreciate your help.
The mavg function deals only with the price process rather than total return process. Therefore, after the stock split in May as the example shows, the algorithm did not work correctly. Is there any solution other than importing total return process?
About parameter optimization, I am thinking about implementing it together with the trading algorithm. However it slows down the speed of back testing or live trading greatly. Is doing the optimization outside a better option?
Thank you.
Hikaru