I am comparing CFs of asset swaps in QuantLib to the asset swap screen (ASW) in Bloomberg. I noticed that the final payments of both swap legs do not include an interest payment for the final period. In Bloomberg, however, they do.
For example, taking the first asset swap from the test suite swapping DE0001135275 as of 04-24-2007.
Final periods fixed rate bond CFs
2034-01-04 4.00000
2035-01-04 4.00000
2036-01-04 3.99991
2037-01-05 104.00009
Final periods swap CFs
fixed_leg float_leg
2035-01-04 4.00000 2.552582
2035-07-04 NaN 2.510446
2036-01-04 3.99991 2.552582
2036-07-04 NaN 2.524490
2037-01-05 100.00000 100.000000
Is it possible to change this behavior in either QuantLib or BB so that the CFs align?
Thanks for any hints.
PS I tried posting to quantlib-users mailing list but my subscription is pending for approval so I decided to post here as well. Sorry for the duplication.