Back to Community
Before_Trading_Start making it run every year

Is there a way to make before_trading_start run every other year? This is primarily so that the universe of stocks only changes every year. Or would I add something in the body like if context.days % 240 == 0: update universe(fundamentals_df) ?

1 response

Yes. The above, has worked