api_finance_bond_ytm
Solve annualized bond yield-to-maturity numerically from quoted clean price, par, coupon rate, maturity and payments per year. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
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": {
"price": "<price>",
"par": "<par>",
"coupon_pct": "<coupon_pct>",
"years": "<years>"
},
"name": "api_finance_bond_ytm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| par | Yes | par; see operation description for units and format | |
| price | Yes | price; see operation description for units and format | |
| years | Yes | years; see operation description for units and format | |
| coupon_pct | Yes | coupon pct; see operation description for units and format | |
| payments_per_year | No | payments per year; see operation description for units and format |