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.
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": {
"date": "<date>"
},
"name": "settlement_date"
}
}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 |