MATLAB è Simulink íà ðóññêîì

https://hub.exponenta.ru/
 

Financial Derivatives Toolbox

Financial Toolbox:

  \ \

hwtimespec

: HW .

:

TimeSpec = hwtimespec(ValuationDate, Maturity,Compounding)

:

  • ValuationDate - , . MATLAB .
  • Maturiry - () . NLEVELS:1 , . . .
  • Compounding - (). , , , , . Default = -1 ( ). .
    Compounding = 1,2,3,4,6,12.
    Disc = (1+Z/F)^(-T), F , Z , , T = F .
    Compounding = 365.
    Disc = (1+Z/F)^(-T), F 1 , T .
    Compounding = -1.
    Disc = exp (-T*Z),

: hwtimespec:

TimeSpec = hwtimespec(ValuationDate, Maturity, Compounding)

HW . TimeSpec , hwtree. [Settle; Maturity(1:end-1)]. , , .

: . Compounding . :

ValuationDate = 'Jan-1-2004';
Maturity = ['12-31-2004'; '12-31-2005'; '12-31-2006';
'12-31-2007'];
Compounding = 1;
TimeSpec = hwtimespec(ValuationDate, Maturity, Compounding)

:


. : bktree, hwtree, hwvolspec

   \ \

 

:


 Orphus