Calculate Periodic Bond Price/Yield
calculate_bond_periodicCalculate price, yield, and accrued interest for Periodic bonds. Powered by the Standard Securities Calculation Methods - Fixed Income (https://api.sscmfi.com).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| givenType | Yes | Are you providing the clean Price or the Yield to find the other? | |
| couponRate | Yes | Annual coupon rate as a percentage (e.g., 5.0 for 5%). Use 0 for zero coupon bonds. | |
| givenValue | Yes | The numeric value of the Price (e.g. 98.75) or Yield (as a percent e.g. 4.25). | |
| callSchedule | No | Optional. List of discrete call dates and prices. AI Hint: The engine will automatically calculate the Yield-to-Worst using this schedule. | |
| maturityDate | Yes | The date the principal is due. Required format: MM/DD/YYYY (e.g., 01/05/2030). AI: Must use leading zeros and 4-digit years. (Ensure this is in the future relative to settlement). | |
| securityType | Yes | Crucial for math accuracy. Treasury: Usually uses Actual/Actual. Corporate/Agency/Municipal: Usually uses 30/360. CD: Usually uses Actual/360. | |
| settlementDate | No | Optional. Defaults to today. The date the money actually changes hands. Required format: MM/DD/YYYY (e.g., 07/04/2025). |