Bond Yield Calc
bond-yield-calcYield to maturity, duration, and convexity calculator.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bond-yield-calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calcMode | No | Calculation mode | price-to-yield |
| faceValue | No | Face value (per 100 yen) | |
| frequency | No | Coupon payment frequency | semi-annual |
| couponRate | No | Coupon rate (%) | |
| targetYield | No | Target yield (%) for yield-to-price mode | |
| currentPrice | No | Current market price (per 100 yen) | |
| yearsToMaturity | No | Years to maturity |