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/instruments/vanillaswingoption"
VanillaForwardPayoff
Class VanillaForwardPayoff
Hierarchy
StrikedTypePayoff
VanillaForwardPayoff
Implements
UnaryFunction
<
Real
,
Real
>
Index
Constructors
constructor
Properties
_strike
_type
Methods
accept
description
f
name
option
Type
strike
Constructors
constructor
new
Vanilla
Forward
Payoff
(
type
:
Type
, strike
:
Real
)
:
VanillaForwardPayoff
Parameters
type:
Type
strike:
Real
Returns
VanillaForwardPayoff
Properties
Protected
_strike
_strike
:
Real
Protected
_type
_type
:
Type
Methods
accept
accept
(
v
:
AcyclicVisitor
)
:
void
Parameters
v:
AcyclicVisitor
Returns
void
description
description
(
)
:
string
Returns
string
f
f
(
price
:
Real
)
:
Real
Parameters
price:
Real
Returns
Real
name
name
(
)
:
string
Returns
string
option
Type
option
Type
(
)
:
Type
Returns
Type
strike
strike
(
)
:
Real
Returns
Real
Globals
"ql/instruments/vanillaswingoption"
Swing
Exercise
Vanilla
Forward
Payoff
constructor
_strike
_type
accept
description
f
name
option
Type
strike
Vanilla
Swing
Option
sec
Per
Day
create
Date
Times