Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
schedule_function at Quarter Start

Hi ppl,

Anyway that we can schedule a function at Quarter Start? i.e first trading day of the quarter?

Regards
See Choon

1 response

Schedule a function at the market open of the first day of each month.

Inside that function, get the current date and extract the month.

If the month is not one of the months that start a quarter, return.