Next: , Previous: , Up: Octave octarisk Classes   [Contents][Index]


4.10 Index.help

Octarisk Class: object = Index(id)
Octarisk Class: object = Index()

Class for setting up Index objects.

Index class is used for specifying asset indizes, exchange rates and consumer price indizes. Indizes serve as underlyings for e.g. Options or Forwards, are used to set up forex rates or CPI indizes for inflation linked products. Indizes can be shocked with risk factors (e.g. risk factor types RF_EQ or RF_FX) or in MC scenarios.

This class contains all attributes and methods related to the following Index types:

In the following, all methods and attributes are explained and a code example is given.

Methods for Index object obj:

Attributes of Index objects:

For illustration see the following example:


disp('Setting up an equity index and Exchange Rate')
i = Index();
i = i.set('id','MSCIWORLD','value_base',1000, ...
    'scenario_stress',[2000;1333;800],'currency','USD');
fx = Index();
fx = fx.set('id','FX_EURUSD','value_base',1.1,  ...
    'scenario_stress',[1.2;1.18;1.23]);

Dependencies of class:

Index

Next: , Previous: , Up: Octave octarisk Classes   [Contents][Index]