New answers tagged

0

From recollection don't you only map the fixed cashflows? If the 6m rate is 1% and your swap is at 0.5% then on a notional of 100 you map: 6m curve @6m: +1 OIS curve @6m: -0.5 If the 6m6m forward rate is 1.25% then on an 1Y irs struct at 2% your flows would be: 6m curve @6m: +1 OIS curve @6m: +1 6m curve @1y: +1.25 OIS curve @1y: +0.75 On a flat curve, ...


0

The difference probably comes from not having exactly the same conventions. When you use ql.MakeOIS all the conventions will come from the ql.Sofr index, but when you build the Instrument manually with ql.OvernightIndexedSwap you are entering all the convention by hand, namely for the schedule. The ql.MakeSchedule class has many more parameters which mostly ...


0

Appears to work when using ql.MakeOIS. Still need to understand why there is a discrepancy. Any thoughts? Reprice Quotes for quote in marketQuotes: swapTenor = ql.Period(quote[0]) fixedRate = quote[1]/100 oisSwap = ql.MakeOIS(swapTenor, sofrIndex, fixedRate, nominal=1E6) print(quote, round(oisSwap.NPV(),3)) Output ('1W', 0.01982) 0.0 ('2W', ...


Top 50 recent answers are included