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.
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 |