trading_calendars
trading_calendars copied to clipboard
Calendars for various securities exchanges.
Solution for https://github.com/quantopian/trading_calendars/issues/224
https://github.com/quantopian/trading_calendars/blob/19c4b677f13147928d34be5a3da50ba4161be45d/trading_calendars/calendar_helpers.py#L6 This definition leads to `TypeError: int() argument must be a string, a bytes-like object or a number, not 'NaTType'`
Why are open times one minute late? https://github.com/quantopian/trading_calendars Due to its historical use in the Zipline backtesting system, trading_calendars will only indicate a market is open upon the completion of...
import trading_calendars as tc xses = tc.get_calendar("XSES") xses.is_session("2021-01-04") > False
Closes https://github.com/quantopian/trading_calendars/issues/196
Closes https://github.com/quantopian/trading_calendars/issues/205
According to the news, the original Spring Festival holiday is until January 30, 2020 (the sixth day), and the normal opening trading time is January 31, 2020 (the seventh day)....
It would be great if you could include National Stock Exchange of India Limited https://www.nseindia.com/ as well.
This is related to #147 . I am backtesting with data going back to 1900. If I do: ``` import pandas as pd from pytz import UTC from trading_calendars.exchange_calendar_xnys import...