|
From: Florian H. <fl...@po...> - 2020-09-29 20:41:35
|
Hi Sumit, I am not very familiar with this topic, but I can see that you added a spread of 0.8%. I think the total rate of the FRN is therefore 0.33% + 0.8% = 1.13%. Thus, a quarterly coupon should be somewhere around 1.13/4 = 0.2825 USD. Hope this helps. Best regards, Florian Am 29.09.2020 21:51 schrieb Sumit Sengupta: > Hi, > > Would really appreciate it if someone can please comment on where > I am going wrong... > I am creating a simple FRN as below > > index = Euribor6M(forecast_curve) > # add the fixing > INDEX.ADDFIXING(DATE(5, 8, 2020), 0.33/100) > > self.ql_bond_frn = ql.FloatingRateBond( > settlementDays=2, > faceAmount=100, > schedule=schedule, > index=index, > SPREADS=[0.8/100], > paymentDayCounter=ActualActual(), > paymentConvention=ModifiedFollowing, > redemption=100, > ) > > aa=[(c.date(), c.amount()) for c in self.ql_bond_frn.cashflows() if > c.date() > self.value_date] > > I would expect the first cashflow to be simply 0.33*0.25 as this is a > quarterly floater. So it should be close to 0.0825 > > However, when I see the list aa with the cash flow amount, I see the > first entry as 0.28 > > Any thoughts? > > THANKS, > SUMIT > > -- > > Mosaic Smart Data > > mobile +44 (0)7961839363 > su...@mo... > 25 Finsbury Circus ▫ EC2M 7EE ▫ London ▫ United Kingdom > > www.mosaicsmartdata.com [1] > > Links: > ------ > [1] http://www.mosaicsmartdata.com/ > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users |