Thank you for your and the previous answer. However, I still have a question. I would really appreciate if you find time to answer the question. The internet has dissenting explanations of YTM formula.
Assume, we have the following quote in The Wall Street Journal
Rate (11.125) Maturity (Aug 13, 2003) Bid (108:15) Ask (108:16) Ask Yield (1.66)
The quote is for is Sept. 15, 2002. Face value of the bond is $100,000.
Problem. Find out how 1.66 was calcuated.
Solution.
1. Evaluate the accrued interest on Sept. 15, 2002. The last coupon payment of $5,562.50 was paid on August 13, 2002, or, 33 days ago. The next coupon payment is on March 13, 2003, or, in 149 days. This means that
Accrued Interest = 33/(33+149) x $5,562.50 = $1,008.60.
2. The price for the bond is therefore: $100,000 x (108 + 16/32)/100 + $1,008.60 = $109,508.60. This is the actual price for the bond.
3. The Ask Yield is the number q that solves the equation
$5,562.50/(1+q(149/365)) + $105,562.50/(1+q(332/365)) = $109,508.60.
The solution to the equation is 0.0166. Is this is the right approach?
Thank you.