Skip to content
TotalFinance

calendar · wire operation

Trading sessions & option expirations

Trading days, holidays, and half days for an exchange calendar over a date range (≤ ~13 months), plus option expirations (weekly Fridays / monthly OPEX / quarterly, shifted off holidays from the calendar data) when `expirationKind` is set, and the next expiry after the range start. NYSE/CBOE one-off closure coverage begins 2001-01-01; earlier ranges carry a diagnostic. Rules project other dates, not future emergency closures.

totalfinance.calendar.sessions
MCP tool name
totalfinance_calendar_sessions
Pack / profiles
calendar / default, full
Default discovery
Included in the default tool set
Required capabilities
None
Effects / authorization
none / none
Cost / cancellation
small / Do not assume inline interruption
Handle-eligible inputs
None
Idempotency
not-applicable

Input schema

FieldTypeMeaning
calendarRequired"NYSE" | "CBOE" | "crypto24x7"Exchange calendar
fromRequiredstringRange start (ISO YYYY-MM-DD, inclusive)
toRequiredstringRange end (ISO YYYY-MM-DD, inclusive)
expirationKindOptional"weekly" | "monthly" | "quarterly"Also return option expirations of this kind (holiday-shifted)
Complete JSON Schema

Loading…

Output schema

FieldTypeMeaning
tradingDaysRequiredstring[]—
holidaysRequiredstring[]—
halfDaysRequiredstring[]—
expirationsOptionalstring[]—
nextExpiryOptionalstring—
calendarRequiredobjectname/version/timezone and documented closure-data coverage
diagnosticsOptionalobjectWarnings when the range crosses the historical coverage floor
Complete JSON Schema

Loading…