market-session
Is the exchange in its core session at this instant? (NYSE holidays and 13:00 early closes, or a caller calendar) — For up to 50 caller-supplied instants, reports whether the NYSE core session (09:30-16:00 America/New_York, 13:00 on early-close days) is open, the reason when closed (weekend, named holiday, before open, after close), that day's open and close instants and the next open; or the same for a caller venue (zone, open, close, holidays, early closes). NYSE data is a dated snapshot of nyse.com covering
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"venue": "<venue>",
"instants": "<instants>"
},
"name": "market-session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| open | No | venue caller only, local HH:MM. | |
| close | No | venue caller only, local HH:MM, after open. | |
| venue | Yes | ||
| expect | No | If given, status is fail for any instant whose state differs. | |
| weekend | No | Non-business weekdays, 0=Sunday..6=Saturday. Default [0, 6]; use [5, 6] for a Friday/Saturday weekend. | |
| holidays | No | Extra non-business dates YYYY-MM-DD (company closures, a calendar we do not carry). | |
| instants | Yes | RFC 3339 timestamps with Z or offset. | |
| timeZone | No | venue caller only. | |
| earlyCloses | No | venue caller only. |