Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Your code should: - construct the bond Treasury daycount for schedule generation is ql.Thirty360 Date generation is from last date working backwards (ql.DateGeneration.Backward) Settlement date
Your code should: - construct the bond Treasury daycount for schedule generation is ql.Thirty360 Date generation is from last date working backwards (ql.DateGeneration.Backward) Settlement date is 1 business date after trade date1 - calculate (yield for the 30yr bond from the Bloomberg page above) these measures using Quantlib flat price accrued interest full price (flat price accrued) note: Treasury Bonds use ql.ActualActual daycount and ql.Semiannual compounding for calculations
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started