OTC Day-Count & RFR OIS Convention Calculator
compute_daycount_and_conventionsUse whenever calculating accrual year fractions (ACT/360, ACT/365F, 30/360, ACT/ACT) or looking up overnight RFR OIS market conventions (SOFR, ESTR, SONIA, SORA, TONA payment lags, lookbacks, day counts).
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": {
"startDate": "<startDate>",
"endDate": "<endDate>",
"convention": "<convention>"
},
"name": "compute_daycount_and_conventions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | ISO end date YYYY-MM-DD (e.g. "2026-09-30"). | |
| startDate | Yes | ISO start date YYYY-MM-DD (e.g. "2026-03-31"). | |
| convention | Yes | Institutional day-count convention: "ACT/360" (SOFR/ESTR), "ACT/365F" (SONIA/SORA/TONA), "30/360" (corporate bonds), or "ACT/ACT". |