Market calendar: sessions, exchange holidays and the next expiration
get_market_calendarUse this when the question is a date: whether the exchange holds a session on a given day, when the next session is, when the next monthly, quarterly or VIX futures expiration falls, or which exchange holidays are coming. Returns the published calendar answered as of one date, with the document each entry was read from. Coverage: US equity options expirations, VIX futures settlement dates, the SPX settlement rules as the exchange words them, and the NYSE full-day closure table, each entry read off the exchange document it cites. Answered as of today on the exchange clock, or as of any date you pass. Not for: scheduled economic releases or earnings dates, neither of which this server publishes; market hours, so whether the exchange is open at this moment is not answered here; what SquawkFlow published before a past session (get_session_record); the max pain strike for an expiration (get_max_pain). Limits: no date here is computed from a rule, so a date the exchange documents do not state is reported as not published rather than worked out. Half sessions are not published at all, and a session named here may be one. The closure table covers a stated span of years: a date outside it returns no claim in either direction rather than an assumption that the exchange was open. The next session is the one derived field, taken from that same closure table, and it stops where the table does.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_market_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO date the answer is made as of, which is the date "next" is measured from. Omit for today on the exchange clock. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| page | Yes | ||
| tool | Yes | ||
| notes | Yes | ||
| stale | No | ||
| table | No | ||
| title | Yes | ||
| usage | No | ||
| source | Yes | ||
| metrics | Yes | ||
| version | Yes | ||
| capturedAt | No | ||
| source_url | No | ||
| staleSince | No |