A simple CPPI strategy in MATLAB
In this set of files, I propose a simple CPPI (Constant Proportion Portfolio insurance) implementation. One can run the backtesting of such a strategy, playing with the parameters of the strategy such as Multiplier (Risk Exposure), or Smoothing factor.
A set of slides brifly reminf the basics of a CPPI strategy.
This package offer 2 versions (with of course the same underlying strategy) : A script M-file, intended to be published (CPPI.m) and a version with a user interface, but less visualization. This UI version could typically be compiled using MathWorks deployment tools.
Cite As
Vincent Leclercq (2025). A simple CPPI strategy in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/20282-a-simple-cppi-strategy-in-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Computational Finance > Financial Instruments Toolbox > Price Instruments Using Functions > Equity Derivatives >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.