Hello every one, this is my second post on Quantopian and at this effect, i modified few things on my previous algo of mean reversion.
Algorithm Logic :
I try to identify trends signals, with my_assign_weights; for each securities I attribute a weight.
Then, I buy (or sell) according to the strenght of that signal (weight). After it I take a look at our open positions to see if we were wrong or not by ordering securities in my_rebalance. If we were, we cut off the current position.
What do you think about the backtest ? I think this algorithm could work when the volatility is weak because market allows us to cut off enough quickly our wrong predictions it goes too bad.
Please, tell me your remark, it will help me for my future algo !