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/exchangerate"
ExchangeRate
Class ExchangeRate
Hierarchy
ExchangeRate
Index
Enumerations
Type
Constructors
constructor
Properties
_is
Disposed
_rate
_rate
Chain
_source
_target
_type
Accessors
is
Disposed
Methods
dispose
exchange
init
rate
source
target
type
chain
Constructors
constructor
new
Exchange
Rate
(
)
:
ExchangeRate
Returns
ExchangeRate
Properties
Private
_is
Disposed
_is
Disposed
:
boolean
= false
Private
_rate
_rate
:
Decimal
Private
_rate
Chain
_rate
Chain
:
[
ExchangeRate
,
ExchangeRate
]
Private
_source
_source
:
Currency
Private
_target
_target
:
Currency
Private
_type
_type
:
Type
Accessors
is
Disposed
get
isDisposed
(
)
:
boolean
Returns
boolean
Methods
dispose
dispose
(
)
:
void
Returns
void
exchange
exchange
(
amount
:
Money
)
:
Money
Parameters
amount:
Money
Returns
Money
init
init
(
source
:
Currency
, target
:
Currency
, rate
:
Decimal
)
:
ExchangeRate
Parameters
source:
Currency
target:
Currency
rate:
Decimal
Returns
ExchangeRate
rate
rate
(
)
:
Decimal
Returns
Decimal
source
source
(
)
:
Currency
Returns
Currency
target
target
(
)
:
Currency
Returns
Currency
type
type
(
)
:
Type
Returns
Type
Static
chain
chain
(
r1
:
ExchangeRate
, r2
:
ExchangeRate
)
:
ExchangeRate
Parameters
r1:
ExchangeRate
r2:
ExchangeRate
Returns
ExchangeRate
Globals
"ql/exchangerate"
Exchange
Rate
Type
constructor
_is
Disposed
_rate
_rate
Chain
_source
_target
_type
is
Disposed
dispose
exchange
init
rate
source
target
type
chain