Settlement date (T+N)
settlement_dateCompute the settlement date for a trade date by advancing a specified number of trading days, skipping weekends and exchange holidays.
Instructions
Compute the settlement date by advancing N trading days from a trade date (e.g. days=1 for T+1, the modern equities default). Skips weekends and exchange holidays.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Trade date (YYYY-MM-DD) | |
| days | No | Number of trading days to settle (T+N). Default 1. | |
| exchange | No | Exchange calendar to use (default NYSE). NASDAQ shares the NYSE calendar. | NYSE |