I know there is no monthly rebalancing, but I need to find a solution because my portfolio rebalances on weird days like May 12 or June 7 etc.
I was wondering, using buy/sell rules cold it be possible to test the date or day of the month like if the date is 1,2,3,4,5,6,7 (of the month) buy on the first “open” day or trading day or something? And the reverse, sell on 28,29,30 if they day is trading…
This is the way I do it. Since “MonthDay” is just a day and not a trade day I add extra days to ensure a trade day is hit. For example if the 1st is a Saturday and Monday a holiday the first possible trade day would be the 4th. Also trade frequency needs to be daily. Same concept for end of month.
Buy Rules since all statements are “and” only need somthing like
(MonthDay=1 or MonthDay=2 or MonthDay=3 or MonthDay=4)
Sell Rules since all statements are “or” need to combine the above with all statements.
like Rank < 92 and (MonthDay=1 or MonthDay=2 or MonthDay=3 or MonthDay=4)
I didn’t think about that! You’re saying that bu just setting a buy rule it will “overwrite” the current position automatically. Does it show I’m a p123 newbie!
I’m saying that the rebalancing process is driven by the sell rules. When positions are sold on a rebalance date, they are replaced by buying the top-ranked securities in your model. Your buy / sell rules above will lead to selling on one day, and holding cash until securities are purchased on another day. Try using the sell rule that I suggested, and I think it will lead to what you are looking for, which is monthly rebalancing.