P = Σ C/(1+y)ᵗ + F/(1+y)ⁿ

Price a bond by discounting its cash flows from face value, coupon rate, yield to maturity and term to maturity.

📐 计算公式
每期付息 c = 面值 F×票面利率% ÷ 年付息次数,每期收益率 y = 到期收益率% ÷ 年付息次数,总期数 T = min(年限×付息次数, 12000);价格 P = Σ(t=1..T) c ÷ (1+y)^t + F ÷ (1+y)^T。校验:无强校验,非数输入按 0 兜底。判据:P > 面值 F 判溢价发行,否则折价发行。

按到期收益率折现票息与面值。

📐 Bond Pricing

Item Formula / Note Source / Standard
Bond price P = sum(CF_t/(1+y)^t) Fabozzi, Fixed Income Securities
Cash flows Coupon C + principal F Standard discount model
Discount rate y is yield to maturity YTM
📌 计算说明
  • YTM>票息 → 折价。
  • 半年付息为常见。