In the documentation I've seen that it is only possible to schedule a rebalance each week/month, but it is not possible to do it in a long period of time (i.e rebalance yearly).
quantopian.algorithm.date_rules.every_day() Create a rule that triggers every day.
quantopian.algorithm.date_rules.month_start([...]) Create a rule that triggers a fixed number of trading days after the start of each month.
quantopian.algorithm.date_rules.month_end([...]) Create a rule that triggers a fixed number of trading days before the end of each month.
quantopian.algorithm.date_rules.week_start([...]) Create a rule that triggers a fixed number of trading days after the start of each week.
quantopian.algorithm.date_rules.week_end([...]) Create a rule that triggers a fixed number of trading days before the end of each week.
Do you know if there is any function that allows to do it?
Thanks