Previous trading day
previous_trading_dayReturn the most recent trading day before a specified date using exchange calendars for NYSE, NASDAQ, LSE, XETRA, or GENERIC.
Instructions
Return the most recent trading day strictly before the given date on an exchange.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date in YYYY-MM-DD format | |
| exchange | No | Exchange calendar to use (default NYSE). NASDAQ shares the NYSE calendar. | NYSE |