Hi Pros,
Is there anyone who knows how to set up TradingCalendar to handle lunch break from 11:31 to 13:30 for minute data?
I only know how to set daily open and close time as follows but my custom data does not have minutes data between 11:30 and 13:30 due to market close for lunch break.
==============================
@property
def open_time(self):
return time(9, 31)
@property
def close_time(self):
return time(16)
Thank you in advance.
Regards,
Kelvin