Skip to content

Commit

Permalink
Export spreaded swaption volatility
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Jul 31, 2024
1 parent 7bf21f0 commit 5db995b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions SWIG/volatilities.i
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,19 @@ class InterpolatedSwaptionVolatilityCube : public SwaptionVolatilityCube {
deprecate_feature(SwaptionVolCube2, InterpolatedSwaptionVolatilityCube)


%{
using QuantLib::SpreadedSwaptionVolatility;
%}

%shared_ptr(SpreadedSwaptionVolatility)
class SpreadedSwaptionVolatility : public SwaptionVolatilityStructure {
public:
SpreadedSwaptionVolatility(const Handle<SwaptionVolatilityStructure>&,
Handle<Quote> spread);
};



%{
using QuantLib::ConstantYoYOptionletVolatility;
%}
Expand Down

0 comments on commit 5db995b

Please sign in to comment.