Skip to main content
Version: Upcoming

TradingCalendar

Description

SpiderRock Trading Calendar records enumerate every calendar date and classify each as a regular trading day, a modified (early-close) trading day, or a market holiday for a given exchange group. Records also carry sequential trading-day and calendar-day counters and a trading-year fraction used to annualize time spans measured in trading days.

Schema Definition

Field NameData TypeDescription
tradingDatedateThe calendar date this record describes
exchGroupstringExchange group the calendar entry applies to
tradingflgintFlag indicating whether the market is open for trading on this date (1 = trading day, 0 = non-trading day)
holidayintFlag indicating whether this date is a market holiday (1 = holiday, 0 = not)
weekdayintISO day-of-week number for the date (1 = Monday ... 7 = Sunday)
cardinal252intSequential trading-day counter that increments only on trading days, following the 252-trading-day-per-year convention
yearnumberfloatFractional trading-year number derived from cardinal252, used to annualize time spans measured in trading days
marketclosestringReserved for future use
marketDayTypestringClassification of the trading day: RegularDay (full session), ModifiedDay (early-close session, e.g. day after Thanksgiving or Christmas Eve), or MarketClosed (exchange holiday)
cardinal365intSequential calendar-day counter that increments every calendar day, following the 365-day-per-year convention, regardless of trading status
cardinalMinutefloatReserved for future use
timestamptimestampTime the calendar record was generated

Differences to V7