Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ql/cashflows/conundrumpricer"
AnalyticHaganPricer
Class AnalyticHaganPricer
Hierarchy
HaganPricer
AnalyticHaganPricer
Implements
Observable
Observer
FloatingRateCouponPricer
CmsCouponPricer
MeanRevertingPricer
Index
Constructors
constructor
Properties
_annuity
_coupon
_cutoff
For
Caplet
_cutoff
For
Floorlet
_discount
_fixing
Date
_g
Function
_gearing
_is
Disposed
_mean
Reversion
_model
OfYield
Curve
_observables
_observers
_payment
Date
_rate
Curve
_spread
_spread
Leg
Value
_swap
Rate
Value
_swap
Tenor
_swaption
Vol
_vanilla
Option
Pricer
deep
Update
dispose
init
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
set
Swaption
Volatility
swaption
Volatility
unregister
Observer
unregister
With
unregister
With
All
update
Methods
caplet
Price
caplet
Rate
floorlet
Price
floorlet
Rate
initialize
mean
Reversion
optionlet
Price
set
Mean
Reversion
swaplet
Price
swaplet
Rate
Constructors
constructor
new
Analytic
Hagan
Pricer
(
swaptionVol
:
Handle
<
SwaptionVolatilityStructure
>
, modelOfYieldCurve
:
YieldCurveModel
, meanReversion
:
Handle
<
Quote
>
)
:
AnalyticHaganPricer
Parameters
swaptionVol:
Handle
<
SwaptionVolatilityStructure
>
modelOfYieldCurve:
YieldCurveModel
meanReversion:
Handle
<
Quote
>
Returns
AnalyticHaganPricer
Properties
Protected
_annuity
_annuity
:
Real
Protected
_coupon
_coupon
:
CmsCoupon
Protected
_cutoff
For
Caplet
_cutoff
For
Caplet
:
Rate
Protected
_cutoff
For
Floorlet
_cutoff
For
Floorlet
:
Rate
Protected
_discount
_discount
:
DiscountFactor
Protected
_fixing
Date
_fixing
Date
:
Date
Protected
_g
Function
_g
Function
:
GFunction
Protected
_gearing
_gearing
:
Real
_is
Disposed
_is
Disposed
:
boolean
= false
Protected
_mean
Reversion
_mean
Reversion
:
Handle
<
Quote
>
Protected
_model
OfYield
Curve
_model
OfYield
Curve
:
YieldCurveModel
_observables
_observables
:
Set
<
Observable
>
= new Set()
_observers
_observers
:
Set
<
Observer
>
= new Set()
Protected
_payment
Date
_payment
Date
:
Date
Protected
_rate
Curve
_rate
Curve
:
YieldTermStructure
Protected
_spread
_spread
:
Spread
Protected
_spread
Leg
Value
_spread
Leg
Value
:
Real
Protected
_swap
Rate
Value
_swap
Rate
Value
:
Rate
Protected
_swap
Tenor
_swap
Tenor
:
Period
_swaption
Vol
_swaption
Vol
:
Handle
<
SwaptionVolatilityStructure
>
Protected
_vanilla
Option
Pricer
_vanilla
Option
Pricer
:
VanillaOptionPricer
deep
Update
deep
Update
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
dispose
dispose
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
init
init
:
(
v
?:
Handle
<
SwaptionVolatilityStructure
>
)
=>
CmsCouponPricer
Type declaration
(
v
?:
Handle
<
SwaptionVolatilityStructure
>
)
:
CmsCouponPricer
Parameters
Optional
v:
Handle
<
SwaptionVolatilityStructure
>
Returns
CmsCouponPricer
is
Disposed
is
Disposed
:
boolean
notify
Observers
notify
Observers
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
register
Observer
register
Observer
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
register
With
register
With
:
(
h
:
Observable
)
=>
void
Type declaration
(
h
:
Observable
)
:
void
Parameters
h:
Observable
Returns
void
register
With
Observables
register
With
Observables
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
set
Swaption
Volatility
set
Swaption
Volatility
:
(
v
:
Handle
<
SwaptionVolatilityStructure
>
)
=>
void
Type declaration
(
v
:
Handle
<
SwaptionVolatilityStructure
>
)
:
void
Parameters
v:
Handle
<
SwaptionVolatilityStructure
>
Returns
void
swaption
Volatility
swaption
Volatility
:
(
)
=>
Handle
<
SwaptionVolatilityStructure
>
Type declaration
(
)
:
Handle
<
SwaptionVolatilityStructure
>
Returns
Handle
<
SwaptionVolatilityStructure
>
unregister
Observer
unregister
Observer
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
unregister
With
unregister
With
:
(
h
:
Observable
)
=>
Size
Type declaration
(
h
:
Observable
)
:
Size
Parameters
h:
Observable
Returns
Size
unregister
With
All
unregister
With
All
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
update
update
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
Methods
caplet
Price
caplet
Price
(
effectiveCap
:
Rate
)
:
Real
Parameters
effectiveCap:
Rate
Returns
Real
caplet
Rate
caplet
Rate
(
effectiveCap
:
Rate
)
:
Rate
Parameters
effectiveCap:
Rate
Returns
Rate
floorlet
Price
floorlet
Price
(
effectiveFloor
:
Rate
)
:
Real
Parameters
effectiveFloor:
Rate
Returns
Real
floorlet
Rate
floorlet
Rate
(
effectiveFloor
:
Rate
)
:
Rate
Parameters
effectiveFloor:
Rate
Returns
Rate
initialize
initialize
(
coupon
:
FloatingRateCoupon
)
:
void
Parameters
coupon:
FloatingRateCoupon
Returns
void
mean
Reversion
mean
Reversion
(
)
:
Real
Returns
Real
optionlet
Price
optionlet
Price
(
optionType
:
Type
, strike
:
Rate
)
:
Real
Parameters
optionType:
Type
strike:
Rate
Returns
Real
set
Mean
Reversion
set
Mean
Reversion
(
meanReversion
:
Handle
<
Quote
>
)
:
void
Parameters
meanReversion:
Handle
<
Quote
>
Returns
void
swaplet
Price
swaplet
Price
(
)
:
Real
Returns
Real
swaplet
Rate
swaplet
Rate
(
)
:
Rate
Returns
Rate
Globals
"ql/cashflows/conundrumpricer"
Analytic
Hagan
Pricer
constructor
_annuity
_coupon
_cutoff
For
Caplet
_cutoff
For
Floorlet
_discount
_fixing
Date
_g
Function
_gearing
_is
Disposed
_mean
Reversion
_model
OfYield
Curve
_observables
_observers
_payment
Date
_rate
Curve
_spread
_spread
Leg
Value
_swap
Rate
Value
_swap
Tenor
_swaption
Vol
_vanilla
Option
Pricer
deep
Update
dispose
init
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
set
Swaption
Volatility
swaption
Volatility
unregister
Observer
unregister
With
unregister
With
All
update
caplet
Price
caplet
Rate
floorlet
Price
floorlet
Rate
initialize
mean
Reversion
optionlet
Price
set
Mean
Reversion
swaplet
Price
swaplet
Rate
Black
Vanilla
Option
Pricer
GFunction
GFunction
Factory
Hagan
Pricer
Numeric
Hagan
Pricer
Vanilla
Option
Pricer
Variable
Change