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/rangeaccrual"
RangeAccrualPricerByBgm
Class RangeAccrualPricerByBgm
Hierarchy
RangeAccrualPricer
RangeAccrualPricerByBgm
Implements
Observer
Observable
Index
Constructors
constructor
Properties
_accrual
Factor
_by
Call
Spread
_correlation
_coupon
_discount
_end
Time
_eps
_gearing
_initial
Values
_is
Disposed
_lower
Trigger
_observables
_observation
Time
Lags
_observation
Times
_observations
No
_observers
_smiles
OnExpiry
_smiles
OnPayment
_spread
_spread
Leg
Value
_start
Time
_upper
Trigger
_with
Smile
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
Methods
call
Spread
Price
caplet
Price
caplet
Rate
deep
Update
der
Drift
Der
LambdaS
der
Drift
Der
LambdaT
der
Lambda
Der
LambdaS
der
Lambda
Der
LambdaT
digital
Price
digital
Price
With
Smile
digital
Price
Without
Smile
digital
Range
Price
drift
drifts
Over
Period
floorlet
Price
floorlet
Rate
initialize
lambda
lambdas
Over
Period
smile
Correction
swaplet
Price
swaplet
Rate
update
Constructors
constructor
new
Range
Accrual
Pricer
ByBgm
(
correlation
:
Real
, smilesOnExpiry
:
SmileSection
, smilesOnPayment
:
SmileSection
, withSmile
:
boolean
, byCallSpread
:
boolean
)
:
RangeAccrualPricerByBgm
Parameters
correlation:
Real
smilesOnExpiry:
SmileSection
smilesOnPayment:
SmileSection
withSmile:
boolean
byCallSpread:
boolean
Returns
RangeAccrualPricerByBgm
Properties
Protected
_accrual
Factor
_accrual
Factor
:
Real
Private
_by
Call
Spread
_by
Call
Spread
:
boolean
Private
_correlation
_correlation
:
Real
Protected
_coupon
_coupon
:
RangeAccrualFloatersCoupon
Protected
_discount
_discount
:
Real
Protected
_end
Time
_end
Time
:
Real
Private
_eps
_eps
:
Real
Protected
_gearing
_gearing
:
Real
Protected
_initial
Values
_initial
Values
:
Real
[]
_is
Disposed
_is
Disposed
:
boolean
= false
Protected
_lower
Trigger
_lower
Trigger
:
Real
_observables
_observables
:
Set
<
Observable
>
= new Set()
Protected
_observation
Time
Lags
_observation
Time
Lags
:
Real
[]
Protected
_observation
Times
_observation
Times
:
Real
[]
Protected
_observations
No
_observations
No
:
Size
_observers
_observers
:
Set
<
Observer
>
= new Set()
Private
_smiles
OnExpiry
_smiles
OnExpiry
:
SmileSection
Private
_smiles
OnPayment
_smiles
OnPayment
:
SmileSection
Protected
_spread
_spread
:
Spread
Protected
_spread
Leg
Value
_spread
Leg
Value
:
Real
Protected
_start
Time
_start
Time
:
Real
Protected
_upper
Trigger
_upper
Trigger
:
Real
Private
_with
Smile
_with
Smile
:
boolean
dispose
dispose
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
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
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
Methods
Protected
call
Spread
Price
call
Spread
Price
(
previousForward
:
Real
, nextForward
:
Real
, previousStrike
:
Real
, nextStrike
:
Real
, deflator
:
Real
, previousVariance
:
Real
, nextVariance
:
Real
)
:
Real
Parameters
previousForward:
Real
nextForward:
Real
previousStrike:
Real
nextStrike:
Real
deflator:
Real
previousVariance:
Real
nextVariance:
Real
Returns
Real
caplet
Price
caplet
Price
(
effectiveCap
:
Rate
)
:
Real
Parameters
effectiveCap:
Rate
Returns
Real
caplet
Rate
caplet
Rate
(
effectiveCap
:
Rate
)
:
Real
Parameters
effectiveCap:
Rate
Returns
Real
deep
Update
deep
Update
(
)
:
void
Returns
void
Protected
der
Drift
Der
LambdaS
der
Drift
Der
LambdaS
(
U
:
Real
, lambdaS
:
Real
, lambdaT
:
Real
, correlation
:
Real
)
:
Real
Parameters
U:
Real
lambdaS:
Real
lambdaT:
Real
correlation:
Real
Returns
Real
Protected
der
Drift
Der
LambdaT
der
Drift
Der
LambdaT
(
U
:
Real
, lambdaS
:
Real
, lambdaT
:
Real
, correlation
:
Real
)
:
Real
Parameters
U:
Real
lambdaS:
Real
lambdaT:
Real
correlation:
Real
Returns
Real
Protected
der
Lambda
Der
LambdaS
der
Lambda
Der
LambdaS
(
U
:
Real
)
:
Real
Parameters
U:
Real
Returns
Real
Protected
der
Lambda
Der
LambdaT
der
Lambda
Der
LambdaT
(
U
:
Real
)
:
Real
Parameters
U:
Real
Returns
Real
Protected
digital
Price
digital
Price
(
strike
:
Real
, initialValue
:
Real
, expiry
:
Real
, deflator
:
Real
)
:
Real
Parameters
strike:
Real
initialValue:
Real
expiry:
Real
deflator:
Real
Returns
Real
Protected
digital
Price
With
Smile
digital
Price
With
Smile
(
strike
:
Real
, initialValue
:
Real
, expiry
:
Real
, deflator
:
Real
)
:
Real
Parameters
strike:
Real
initialValue:
Real
expiry:
Real
deflator:
Real
Returns
Real
Protected
digital
Price
Without
Smile
digital
Price
Without
Smile
(
strike
:
Real
, initialValue
:
Real
, expiry
:
Real
, deflator
:
Real
)
:
Real
Parameters
strike:
Real
initialValue:
Real
expiry:
Real
deflator:
Real
Returns
Real
Protected
digital
Range
Price
digital
Range
Price
(
lowerTrigger
:
Real
, upperTrigger
:
Real
, initialValue
:
Real
, expiry
:
Real
, deflator
:
Real
)
:
Real
Parameters
lowerTrigger:
Real
upperTrigger:
Real
initialValue:
Real
expiry:
Real
deflator:
Real
Returns
Real
Protected
drift
drift
(
U
:
Real
, lambdaS
:
Real
, lambdaT
:
Real
, correlation
:
Real
)
:
Real
Parameters
U:
Real
lambdaS:
Real
lambdaT:
Real
correlation:
Real
Returns
Real
Protected
drifts
Over
Period
drifts
Over
Period
(
U
:
Real
, lambdaS
:
Real
, lambdaT
:
Real
, correlation
:
Real
)
:
Real
[]
Parameters
U:
Real
lambdaS:
Real
lambdaT:
Real
correlation:
Real
Returns
Real
[]
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
Protected
lambda
lambda
(
U
:
Real
, lambdaS
:
Real
, lambdaT
:
Real
)
:
Real
Parameters
U:
Real
lambdaS:
Real
lambdaT:
Real
Returns
Real
Protected
lambdas
Over
Period
lambdas
Over
Period
(
U
:
Real
, lambdaS
:
Real
, lambdaT
:
Real
)
:
Real
[]
Parameters
U:
Real
lambdaS:
Real
lambdaT:
Real
Returns
Real
[]
Protected
smile
Correction
smile
Correction
(
strike
:
Real
, forward
:
Real
, expiry
:
Real
, deflator
:
Real
)
:
Real
Parameters
strike:
Real
forward:
Real
expiry:
Real
deflator:
Real
Returns
Real
swaplet
Price
swaplet
Price
(
)
:
Real
Returns
Real
swaplet
Rate
swaplet
Rate
(
)
:
Rate
Returns
Rate
update
update
(
)
:
void
Returns
void
Globals
"ql/cashflows/rangeaccrual"
Range
Accrual
Floaters
Coupon
Range
Accrual
Leg
Range
Accrual
Pricer
Range
Accrual
Pricer
ByBgm
constructor
_accrual
Factor
_by
Call
Spread
_correlation
_coupon
_discount
_end
Time
_eps
_gearing
_initial
Values
_is
Disposed
_lower
Trigger
_observables
_observation
Time
Lags
_observation
Times
_observations
No
_observers
_smiles
OnExpiry
_smiles
OnPayment
_spread
_spread
Leg
Value
_start
Time
_upper
Trigger
_with
Smile
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
call
Spread
Price
caplet
Price
caplet
Rate
deep
Update
der
Drift
Der
LambdaS
der
Drift
Der
LambdaT
der
Lambda
Der
LambdaS
der
Lambda
Der
LambdaT
digital
Price
digital
Price
With
Smile
digital
Price
Without
Smile
digital
Range
Price
drift
drifts
Over
Period
floorlet
Price
floorlet
Rate
initialize
lambda
lambdas
Over
Period
smile
Correction
swaplet
Price
swaplet
Rate
update