OptBinVal(iS0, iVola, iRate, iStrike, iType, iClass, iExpiry, iNoSteps)
バージョン 1.0.0.0 (3.11 KB) 作成者:
Mario Santos
Pricing function for plain vanilla options using binomial trees
This is a simple (yet quite useful for learning purposes) function that calculates the price of a plain vanilla option (american, european, call and / or put) by using binomial trees.
The output is made of:
- Stock price paths.
- Option price paths.
- Option price at inception.
- Delta values for each node.
Any question about the code will be pleasantly answered @ mariosantossanz89@gmail.com
引用
Mario Santos (2024). OptBinVal(iS0, iVola, iRate, iStrike, iType, iClass, iExpiry, iNoSteps) (https://www.mathworks.com/matlabcentral/fileexchange/53661-optbinval-is0-ivola-irate-istrike-itype-iclass-iexpiry-inosteps), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2015a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- Computational Finance > Financial Instruments Toolbox > Price Instruments Using Functions > Equity Derivatives >
Help Center および MATLAB Answers で Equity Derivatives についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |