Calendars
Exchange calendars (NYSE, Cboe, 24×7 crypto), holidays and option expirations.
Know when markets are open and when options expire: NYSE and Cboe holiday and half-day rules, a 24×7 crypto calendar and expiration helpers that count trading days.
Common APIs
const
NYSESee the reference for its full contract.constCBOESee the reference for its full contract.constcrypto24x7The 24×7 crypto calendar with trader vocabulary (R10).fnexpirationsOption expirations in `[from, to]` (inclusive), holiday-shifted per the calendar.fnnextExpiryThe first expiration strictly after `date` (`kind` defaults to `'weekly'` — the nearest Friday expiry, holiday-shifted).fntradingDaysToExpiryTrading sessions remaining until an expiry — the days-to-expiry number traders scale volatility with (`√(tradingDays / 252)`), counted on THIS calendar's actual schedule rather than calendar days ÷ 7 × 5.constusMarketHolidayRulesSee the reference for its full contract.Complete API reference
Browse all public exports, types, and feature imports below.