NYSEgen

Generates the NYSE (New York Stock Exchange) business days calendar.

azapy.MkT.MkTcalendar.NYSEgen(sdate='1980-01-01', edate='2050-12-31')

Returns the NYSE business calendar between sdate and edate.

Parameters:
sdatedate like, optional

Calendar start date. The default is ‘1980-01-01’.

edatedate like, optional

Calendar end date. The default is ‘2050-12-31’.

Returns:
`numpy.busdaycalendar`NYSE business calendar.

TOP

Example NYSEgen

import azapy as az 

# New York Stock Exchange business calendar
bcal = az.NYSEgen()

TOP