|
From: Mr D. P. <dan...@uq...> - 2022-05-03 06:49:09
|
Hi all, I've been attempting to model some JGB bonds in Quantlib to then use its fixed rate bond objects to try build out a discounting curve from it. One thing I like to do is check my prices relative to Bloomberg prior to proceeding and have noticed that while the accrued interest reconciles, the prices (both clean and dirty are far off). The reasoning seems to be that JGBs use a simple interest calculation, differing compounded calcs used by the majority of other bonds out there. I just wanted to check if there is a method within the Quantlib bond object to directly calculate the simple yield quoted in Bloomberg using the respective Bloomberg price? Please let me know if you need any further clarification. Kind regards Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows |