bond_price
bond_priceCalculate the theoretical price of a bond using face value, coupon rate, market rate, and years to maturity.
Instructions
计算债券的理论价格
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": {
"face_value": "<face_value>",
"coupon_rate": "<coupon_rate>",
"market_rate": "<market_rate>",
"years_to_maturity": "<years_to_maturity>"
},
"name": "bond_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| face_value | Yes | ||
| coupon_rate | Yes | ||
| market_rate | Yes | ||
| years_to_maturity | Yes | ||
| payments_per_year | No |