4.0

4.0 | 1 rating Rate this file 38 downloads (last 30 days) File Size: 4.15 MB File ID: #20282

A simple CPPI strategy in MATLAB

by Vincent Leclercq

 

13 Jun 2008 (Updated 16 Jun 2008)

Code covered by BSD License  

Backtesting of a CPPI strategy

Download Now | Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.5 (R2007b)
Zip File Content  
Other Files
CPPI/1998_BackTest.xls,
CPPI/CPPI.m,
CPPI/CPPI_PayOff_From_Returns_2.m,
CPPI/CPPI_Slides.ppt,
CPPI/GetCPPIPath.m,
CPPI/MyDateTick.m,
CPPI/SimpleXlsReader.m,
CPPI/UI_CPPI.fig,
CPPI/UI_CPPI.m,
CPPI/xticklabel_rotate.m,
readme.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
17 Jun 2008 Dimitri Shvorob

I think both the code and the presentation could be improved. I don't insist on classes, but one could at least use 'dataset('xlsfile',..' to read the spreadsheet. How about something more interesting, Vincent?

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
finance Vincent Leclercq 22 Oct 2008 10:05:55
modeling Vincent Leclercq 22 Oct 2008 10:05:55
analysis Vincent Leclercq 22 Oct 2008 10:05:55
cppi finance hedging Vincent Leclercq 22 Oct 2008 10:05:55
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com