|
From: Luigi B. <lui...@gm...> - 2020-09-29 20:31:03
|
Can you post the rest of the setup, that is, the construction of the schedule and the evaluation date? Luigi On Tue, Sep 29, 2020 at 9:54 PM Sumit Sengupta <su...@mo...> wrote: > 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 > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > |