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

https://hub.exponenta.ru/
 

Financial Derivatives Toolbox

Financial Toolbox:

  \ \

bktree

: BK

:

BKTree = bktree(VolSpec, RateSpec, TimeSpec)

:

  • VolSpec - . bkvolspec.
  • RateSpec - . , intenvset.
  • TimeSpec - . BK . bktimespec .

: bktree:

BKTree = bktree(VolSpec, RateSpec, TimeSpec)

.

: B (VolSpec), (RateSpec) (TimeSpec). B bktree. :

Compounding = -1;
ValuationDate = '01-01-2004';
StartDate = ValuationDate;
VolDates = ['12-31-2004'; '12-31-2005'; '12-31-2006';
'12-31-2007'];
VolCurve = 0.01;
AlphaDates = '01-01-2008';
AlphaCurve = 0.1;
Rates = [0.0275; 0.0312; 0.0363; 0.0415];
BKVolSpec = bkvolspec(ValuationDate, VolDates, VolCurve,...
AlphaDates, AlphaCurve);
RateSpec = intenvset('Compounding', Compounding,...
'ValuationDate', ValuationDate,...
'StartDates', ValuationDate,...
'EndDates', VolDates,...
'Rates', Rates);
BKTimeSpec = bktimespec(ValuationDate, VolDates, Compounding);
BKTree = bktree(BKVolSpec, RateSpec, BKTimeSpec)

:

treeviewer . :

treeviewer(BKTree)

:

. : bkprice, bktimespec, bkvolspec, intenvset

   \ \

 

:


 Orphus