Open
Description
Hi the NYSE weekmask includes saturday, but this causes issues when the holidays() method is called since the CustomBusinessDay object includes saturday as a valid business day without checking if after 1952, here is an example that roll sunday 6/26 back to saturday 6/25:
import pandas_market_calendars as mcal
nyse = mcal.get_calendar("NYSE")
holidays = nyse.holidays()
holidays.rollback("2022-06-26")
Timestamp('2022-06-25 00:00:00')
Metadata
Metadata
Assignees
Labels
No labels