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/experimental/commodities/commodityindex"
CommodityIndex
Class CommodityIndex
base class for commodity indexes
Hierarchy
ObserverObservable
CommodityIndex
Implements
Observer
Observable
Index
Properties
_calendar
_commodity
Type
_currency
_exchange
Contracts
_forward
Curve
_forward
Curve
Uom
Conversion
Factor
_is
Disposed
_lot
Quantity
_name
_nearby
Offset
_observables
_observers
_quotes
_unit
OfMeasure
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
Methods
deep
Update
update
Properties
Protected
_calendar
_calendar
:
Calendar
Protected
_commodity
Type
_commodity
Type
:
CommodityType
Protected
_currency
_currency
:
Currency
Protected
_exchange
Contracts
_exchange
Contracts
:
ExchangeContracts
Protected
_forward
Curve
_forward
Curve
:
CommodityCurve
Protected
_forward
Curve
Uom
Conversion
Factor
_forward
Curve
Uom
Conversion
Factor
:
Real
_is
Disposed
_is
Disposed
:
boolean
= false
Protected
_lot
Quantity
_lot
Quantity
:
Real
Protected
_name
_name
:
string
Protected
_nearby
Offset
_nearby
Offset
:
Integer
_observables
_observables
:
Set
<
Observable
>
= new Set()
_observers
_observers
:
Set
<
Observer
>
= new Set()
Protected
_quotes
_quotes
:
TimeSeries
<
Real
>
Protected
_unit
OfMeasure
_unit
OfMeasure
:
UnitOfMeasure
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
deep
Update
deep
Update
(
)
:
void
Returns
void
update
update
(
)
:
void
Returns
void
Globals
"ql/experimental/commodities/commodityindex"
Commodity
Index
_calendar
_commodity
Type
_currency
_exchange
Contracts
_forward
Curve
_forward
Curve
Uom
Conversion
Factor
_is
Disposed
_lot
Quantity
_name
_nearby
Offset
_observables
_observers
_quotes
_unit
OfMeasure
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
deep
Update
update
base class for commodity indexes