www.gusucode.com > fininst 案例源码程序 matlab代码 > fininst/LoadZeroCurvesandInstrumentsfromDataFileExample.m

    %% Load Zero Curves and Instruments from Data File  

% Copyright 2015 The MathWorks, Inc.


%% 
% Load the zero curves and instruments. 
load deriv.mat
instdisp(ZeroInstSet)  

%% 
% Price the instruments.  
Price = intenvprice(ZeroRateSpec, ZeroInstSet)