zgsrc/fincal

Months behaving differently that year and day in tradingSessions()

Opened this issue · 0 comments

Hello,

calendar.tradingSessions({ year: 2020, month: 5, day: 1 })
I've tried to get the session data for May 1 2020 and got the data for June 1 2020
Looks like months start at 0, but years and days don't.