Question: 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
Get step-by-step solutions from verified subject matter experts
