BookmarkSubscribeRSS Feed
Ocean_my
Calcite | Level 5

Hi, Please i need help, i would like to calculate the Z-spread(zero volatilité spread) of coupon bond.
Input(known variable) :

Price of the Bond = 102.3

Coupon = 3%

Frequency : Annuel

Date of maturity = 15/12/2024.

Yield Curve: Year 1 =0.1, Year 2 =0.2, Year 3 =0.4,  Year 4 = 0.5.

The formula is : 102.3= 3/(1+0.1+SP)^1+3/(1+0.2+SP)^2+3/(1+0.4+SP)^3+3/(1+0.5+SP)^4+100/(1+0.5+SP)^4.

With the function Solve, i would like to find SP(Z-spread).

Thank you for your help.

Samy

1 REPLY 1
Ocean_my
Calcite | Level 5

Price Bond = Coupon/(1+Rate(1)+Spread)^1+ Coupon/(1+Rate(2)+Spread)^2+ Coupon/(1+Rate(N)+Spread)^N+ Principal/(1+Rate(N)+Spread)^N

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 936 views
  • 0 likes
  • 1 in conversation