Skip to content

incorrect dates? #2

@carstenf

Description

@carstenf

Beautiful pice of code!

I'm downloading the vix data from https://www.cboe.com/us/futures/market_statistics/historical_data/
and one needs to know the expiring date to be able to get the file:

urlStr = 'https://www.cboe.com/us/futures/market_statistics/historical_data/products/csv/VX/2014-03-18'
urllib.request.urlretrieve(urlStr)

I found only three issues between 2014 and today:
2014-03-19 -> should be 2014-03-18
2019-03-20 -> should be 2020-03-18
2022-03-16 -> should be 2022-03-15

I check regarding valid business days and all days are valid.

end = start = '2014-03-18'
len(nyse.valid_days(start_date=start, end_date=end))

some idea how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions