Matlab financial derivative toolkit is very powerful it covers all of Paul Wilmott or John Hull quant books
Let’s get down to the nitty gritty. It is these powerful toolkit which makes Matlab really shine in its capabilities. This one toolkit does cover two areas of derivatives. This includes for interest rate based derivatives:
*
Bonds
*
Bond options (puts and calls)
*
Caps
*
Fixed-rate notes
*
Floating-rate notes
*
Floors
*
Swaps
*
Swaption
*
Callable and Puttable bonds
For equity based derivatives, you will find:
*
Asian options
*
Barrier options
*
Compound options
*
Lookback options
*
Vanilla stock options (put and call options).
This financial derivative toolkit allows some expansive portfolio creation which of course include:
*
Bond option
InstSet = instadd(‘OptBond’, BondIndex, OptSpec, Strike, ExerciseDates, AmericanOpt)
*
Arbitrary cash flow instrument
InstSet = instadd(‘CashFlow’, CFlowAmounts, CFlowDates, Settle, Basis)
*
Fixed-rate note instrument
InstSet = instadd(‘Fixed’, CouponRate, Settle, Maturity, FixedReset, Basis, Principal)
*
Floating-rate note instrument
InstSet = instadd(‘Float’, Spread, Settle, Maturity, FloatReset, Basis, Principal)
*
Cap instrument
InstSet = instadd(‘Cap’, Strike, Settle, Maturity, CapReset, Basis, Principal)
*
Floor instrument
InstSet = instadd(‘Floor’, Strike, Settle, Maturity, FloorReset, Basis, Principal)
*
Swap instrument
InstSet = instadd(‘Swap’, LegRate, Settle, Maturity, LegReset, Basis, Principal, LegType)
*
Swaption instrument
InstSet = instadd(‘Swaption’, OptSpec, Strike, ExerciseDates, Spread, …
Settle, Maturity, AmericanOpt, SwapReset, Basis, Principal)
*
Bond with embedded option instrument
InstSet = instadd(‘OptEmBond’, CouponRate, Settle, Maturity, OptSpec, Strike, …
ExerciseDates, ‘AmericanOpt’, AmericanOpt, ‘Period’, Period,’Basis’, Basis, …
‘EndMonthRule’, EndMonthRule,’Face’,Face,’IssueDate’, IssueDate, ‘FirstCouponDate’, …
FirstCouponDate, ‘LastCouponDate’, LastCouponDate,’StartDate’, StartDate)
The above includes the toolkit’s function as well. Also included are equity derivatives as well:
*
Asian instrument
InstSet = instadd(‘Asian’, OptSpec, Strike, Settle, ExerciseDates, AmericanOpt, …
AvgType, AvgPrice, AvgDate)
*
Barrier instrument
InstSet = instadd(‘Barrier’, OptSpec, Strike, Settle, ExerciseDates, AmericanOpt, …
BarrierType, Barrier, Rebate)
*
Compound instrument
InstSet = instadd(‘Compound’, UOptSpec, UStrike, USettle, UExerciseDates, UAmericanOpt, …
COptSpec, CStrike, CSettle, CExerciseDates, CAmericanOpt)
*
Lookback instrument
InstSet = instadd(‘Lookback’, OptSpec, Strike, Settle, ExerciseDates, AmericanOpt)
*
Stock option instrument
InstSet = instadd(‘OptStock’, OptSpec, Strike, Settle, Maturity, AmericanOpt)
Different instruments and their corresponding constructors are included as well:
Instrument
Constructor
Asian option
instasian
Barrier option
instbarrier
Bond
instbond
Bond option
instoptbnd
Arbitrary cash flow
instcf
Compound option
instcompound
Fixed-rate note
instfixed
Floating-rate note
instfloat
Cap
instcap
Floor
instfloor
Lookback option
instlookback
Stock option
instoptstock
Swap
instswap
Swaption
Instswaption
There is so much in this critical toolkit, it is no wonder the professional institutional traders and analysts would use it.