New answers tagged

0 votes

Actual360 convention in quantlib schedule

The day-count convention doesn't enter in the schedule construction, which gives you a set of coupon dates. It only matters after the schedule is built, and gives you a measure of the time between ...
Luigi Ballabio's user avatar
2 votes

Best practice in QuantLib Python to include borrow rate

It depends on your use cases. Something like SpreadedLinearZeroInterpolatedTermStructure, as you suggested, will work but will use both the original curve and the ...
Luigi Ballabio's user avatar
0 votes

SOLVED Manually Recomputing Forward Rates from QuantLib Python

...
user68989's user avatar
3 votes

PV different from Dirty Price in QuantLib

It's the combination of two things. First: when passed an interest rate y and a series of coupons paying at dates ...
Luigi Ballabio's user avatar
2 votes
Accepted

Understanding SOFR Fixing Rate Retrieval for Future Dates in QuantLib

If you ask the SOFR index for a fixing at the start date of the coupon, it will return it, but that's not what the coupon pays. A coupon paying SOFR over a period pays the compounded SOFR fixings ...
Luigi Ballabio's user avatar
1 vote

Replicating QuantLib plain vanilla Interest Rate Swap valuation

As a base for comparison you can also try rateslib ...
Attack68's user avatar
  • 8,842
1 vote

Quantlib: Is linking the curve to the discount curve important in vanilla swaps?

There are two different curves involved in swap pricing: the forecast curve that the index will use to forecast future coupons and the discount curve that will be used to discount the coupon amounts. ...
Luigi Ballabio's user avatar
0 votes

Uncertain Volatility Model - Option Pricing R code help

Looks like your L_T_plus & L_T_minus are always zero. Check your implementation.
Alex D's user avatar
  • 41
1 vote

Generating normally distributed random numbers using Sobol generator in QuantLib

As Dimitri said, the initialization of the RNG should be outside the loop. The dimension parameter is, roughly speaking, how many random numbers you need for one sample. If one of your trials consists ...
Luigi Ballabio's user avatar
1 vote

QuantLib Python: How to print each caplet/floorlet value, intrinsic value and time value at each fixing date?

The CapFloor class provides some limited information (see the SWIG wrappers). You can call capfloor.optionletsPrice() to get a ...
Luigi Ballabio's user avatar

Top 50 recent answers are included