New answers tagged programming
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 ...
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 ...
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 ...
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 ...
1
vote
Replicating QuantLib plain vanilla Interest Rate Swap valuation
As a base for comparison you can also try rateslib
...
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. ...
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.
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 ...
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 ...
Top 50 recent answers are included
Related Tags
programming × 1825quantlib × 254
time-series × 119
garch × 115
volatility × 83
portfolio-optimization × 81
equities × 79
options × 77
option-pricing × 74
monte-carlo × 68
backtesting × 66
fixed-income × 65
data × 58
algorithmic-trading × 58
optimization × 58
finance × 49
simulations × 47
statistics × 45
portfolio × 45
market-data × 44
portfolio-management × 43
interactive-brokers × 43
quant-trading-strategies × 42
black-scholes × 39
bloomberg × 38