Hi so I tried using WeeksToQ as sell rule :
I run the sim and the result doesn't make difference than RankPos > 5 alone
I tried WeeksToQ in my universe rule but since I'm enabling "Force Positions into Universe" it doesnt always works... any solution for this? Thanks!
Allow Immediate Buyback is allowing your model to cancel the sell transaction altogether whenever Sell2 would trigger. Sell2 is effectively RankPos <= 5 & WeeksToQ < 3
, so the sell will usually be cancelled because they're the top stocks. I suggest turning off Allow Immediate Buyback and adding a buy rule like !LastSellDaysLT(21)
to prevent repurchase within a timeframe.
1 Like