image thumbnail

A simple CPPI strategy in MATLAB

version (4.15 MB) by Vincent Leclercq
Backtesting of a CPPI strategy


Updated 01 Sep 2016

View License

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 (2021). A simple CPPI strategy in MATLAB (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!