Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Bond Yield One measure of a bonds performance is its Yield To Maturity (YTM). YTM values for government bonds are complex to calculate and are

Bond Yield One measure of a bonds performance is its Yield To Maturity (YTM).

YTM values for government bonds are complex to calculate and are published in intr + a tables. However, they can be approximated with the simple formula YTM = b , face value - current market price where intr is the interest earned per year, a = years until maturity , and face value + current market price b = 2 .

For instance, suppose a bond has a face value of $1,000, a coupon interest rate of 4%, matures in 15 years, and currently sells for $1,180. Then intr = .04#1,000 = 40, a = 1000 - 1180 = -12, b = 1000 + 1180 = 1090, and 15 2 YTM = 40 - 12 2.57,.

Note: The face value of the bond is the amount it will be 1090 redeemed for when it matures, and the coupon interest rate is the interest rate stated on the bond. If a bond is purchased when it is first issued, then the YTM is the same as the coupon interest rate. Write a program that requests the face value, coupon interest rate, current market price, and years until maturity for a bond, and then calculates the bonds YTM.

Write Python Program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

More Books

Students also viewed these Databases questions