Would anyone know if it is possible to schedule this function to run on a weekly or monthly basis rather then being called daily.
IE. schedule_function(Before_trading_starts, date_rules.week_start(days_offset=1)
I may be wrong on my assumption but I believe this function allows for a runtime of more then 50 seconds. I have a code that has an extensive procedure that I do not want to call every since I am rebalancing on a weekly basis and only need it called on those days.