Count trading days between two dates
trading_days_betweenCount trading days in an inclusive date range on an exchange, using calendars for NYSE, NASDAQ, LSE, XETRA, or GENERIC. Returns the number of trading days between start and end dates.
Instructions
Count the trading days in the inclusive range [start, end] on an exchange.
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": {
"start": "<start>",
"end": "<end>"
},
"name": "trading_days_between"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | Date in YYYY-MM-DD format | |
| exchange | No | Exchange calendar to use (default NYSE). NASDAQ shares the NYSE calendar. | NYSE |