Just to be certain, please --
is this piece of code going to launch the "getin" procedure four days BEFORE the END of the month, 40 minutes AFTER MARKET OPEN?
schedule_function(func = getin,
date_rule = date_rules.month_end(days_offset = 4),
time_rule = time_rules.market_open(minutes = 40),
half_days = True)
And this one the procedure "getout" four days AFTER the BEGINNING of the month, 40 minutes BEFORE MARKET CLOSE?
schedule_function(func = getout,
date_rule = date_rules.month_start(days_offset = 4),
time_rule = time_rules.market_close(minutes = 40),
half_days = True)
Many thanks in advance!
Tim