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/payoffs"
CashOrNothingPayoff
Class CashOrNothingPayoff
Binary cash-or-nothing payoff
Hierarchy
StrikedTypePayoff
CashOrNothingPayoff
Implements
UnaryFunction
<
Real
,
Real
>
Index
Constructors
constructor
Properties
_cash
Payoff
_strike
_type
Methods
accept
cash
Payoff
description
f
name
option
Type
strike
Constructors
constructor
new
Cash
OrNothing
Payoff
(
type
:
Type
, strike
:
Real
, cashPayoff
:
Real
)
:
CashOrNothingPayoff
Parameters
type:
Type
strike:
Real
cashPayoff:
Real
Returns
CashOrNothingPayoff
Properties
Protected
_cash
Payoff
_cash
Payoff
:
Real
Protected
_strike
_strike
:
Real
Protected
_type
_type
:
Type
Methods
accept
accept
(
v
:
AcyclicVisitor
)
:
void
Parameters
v:
AcyclicVisitor
Returns
void
cash
Payoff
cash
Payoff
(
)
:
Real
Returns
Real
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/payoffs"
Asset
OrNothing
Payoff
Cash
OrNothing
Payoff
constructor
_cash
Payoff
_strike
_type
accept
cash
Payoff
description
f
name
option
Type
strike
Floating
Type
Payoff
Gap
Payoff
Null
Payoff
Percentage
Strike
Payoff
Plain
Vanilla
Payoff
Striked
Type
Payoff
Super
Fund
Payoff
Super
Share
Payoff
Type
Payoff
Binary cash-or-nothing payoff