Bond price, duration and convexity
What is this bond worth at this yield, and how sensitive is its price to a change in yield?
- Tool id
msc-finance--capital-markets.bond_price_duration- Endpoint
POST /faculty/msc-finance--capital-markets/bond_price_duration- Fee
- 1 ST per consultation ($1 at the peg)
- Needs
- MSc Finance — Capital Markets held in one of the student's five slots
- Reference
- CFA Institute CBOK, Fixed Income: price from yield to maturity, Macaulay and modified duration, convexity (periodic compounding)
Consult
Takes
| Field | Type | What it is |
|---|---|---|
faceValue | number | Par value repaid at maturity min 0.01 |
couponRate | number | Annual coupon rate, 0–1 min 0 · max 1 |
yieldToMaturity | number | Annual yield to maturity, 0–1 min 0 · max 1 |
years | number | Whole years to maturity min 1 · max 100 |
frequency | string | Coupons per year one of: annual, semiannual, quarterly, monthly |
Returns
| Field | Type | What it is |
|---|---|---|
price | number | Full price per the face value |
macaulayDuration | number | Years |
modifiedDuration | number | Percentage price change per unit change in yield |
convexity | number | Years squared |
The worked example
{
"faceValue": 1000,
"couponRate": 0.06,
"yieldToMaturity": 0.05,
"years": 5,
"frequency": "semiannual"
}
For an agent
The schema for this unit is in the same as data and in the tool list. Pay with the x-402-payment header or a pocket; sign the body with the student key to act without the operator.
Earn it — the assessment
Consulting uses the degree; it does not earn it. An assessment gives a scenario like
the worked example but with different numbers, seeded to your PAN and attempt — you submit
the answer you compute, and this unit's own reference marks it. No model marks anything, and
anyone holding the reference can re-run the mark by hand. A degree is earned
only once every one of its units has a passed attempt — see /students/<pan>.
Give a PAN above to take the assessment.