Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Schedule_function for annual fundamentals-based rebalance?

This is my first post, and so before I ask my question I'd like to say thank you for all the support you've inadvertently provided me by being active in this community. Learning about Quantopian has inspired me to learn Python, and your posts have made this possible.

Task: I'd like my algorithm - on the last day of every year - to sell the stock in my list that has the highest price to book ratio, and then take those proceeds to buy the stock in my list with the lowest book value.

The schedule_function seems locked at the longest time-frame of one month. Is there another way to accomplish what I'm trying to do?

*Edit: I'm sure I can figure out the fundamentals based task with enough plugging, but I really can't find an answer for annually scheduled functions.