Инициализируйте окружение Numerix.
n =
Path: 'i:\NumeriX_java_10_3_0\data'
RepositoryPath: 'i:\NumeriX_java_10_3_0\data\Repository'
Repository: [1x1 com.numerix.integration.implementation.FileSystemRepository]
Context: [1x1 com.numerix.integration.implementation.LocalCalculationContext]
LookupsPath: 'i:\NumeriX_java_10_3_0\data\Data\LookupRules'
MarketsPath: 'i:\NumeriX_java_10_3_0\data\Data\Markets'
FixingsPath: 'i:\NumeriX_java_10_3_0\data\Data\Fixings'
TradesPath: 'i:\NumeriX_java_10_3_0\data\Data\Trades'
Parameters: [1x1 com.numerix.integration.implementation.CalculationParameters]
Создайте рынок.
Определите торговый образец на основе шаблона инструмента, найденного в Repository
.
Создайте торговый образец.
Оцените сделки.
Проанализируйте результаты для MATLAB и отобразите.
r =
Category: {13x1 cell}
Currency: {13x1 cell}
Name: {13x1 cell}
Data: {13x1 cell}
'Reporting Currency' 'Price' '' 'USD'
'Structured Cashflow Log' 'Cashflow' '' {41x20 cell}
'Structured Leg PV Accrued' 'Price' 'USD' [ 0]
'PV' 'Price' 'USD' [ 6.4133e+04]
'Structured Leg PV Clean' 'Price' 'USD' [ 4.2637e+05]
'Option PV' 'Price' 'USD' [-1.3220e+05]
'Funding Cashflow Log' 'Cashflow' '' {41x20 cell}
'Structured Leg PV' 'Price' 'USD' [ 4.2637e+05]
'Funding Leg PV' 'Price' 'USD' [-2.3004e+05]
'Funding Leg PV Accrued' 'Price' 'USD' [ 0]
'Funding Leg PV Clean' 'Price' 'USD' [-2.3004e+05]
'Yield Risk Report' '' '' { 4x30 cell}
'Messages' '' '' { 4x1 cell}