Repository for the Quantitative asset and risk management - Risk Project
This project is based on :
DRAWDOWN: FROM PRACTICE TO THEORY AND BACK AGAIN
Lisa R. Goldberg and Ola Mahmoud
You can find this paper here.
This paper introduce the Conditional Expected Drawdown which is the tail mean of the distribution of Drawdown. This risk measure is coherent and therefore allows to construct portfolio based on it and to compute the marginal contribution of an asset to the overall risk.
Hence, the purpose of this project is to expose the properties of maximum Drawdown and CED. Typically, we will show the relation between CED and the frequency of observation, the auto-correlation of the underlying process and the length of the path.
We will then look at the relation between CED, the Drawdown, the speed of the drawdown and the recovery period.
Finally, we use different asset allocation methods and compute the contribution to CED of each asset. The allocation are :
- Equally Weighted
- Risk Parity
The last part of the paper takes intraday bitcoin prices to look at the properties of CED for high frequency trading and look at the properties of a CED parity allocation.
We use two dataset of the Fama/French data:
- Fama/French 3 factors daily (to extract the rf and rm values)
- Fama/French 10 industry Portfolio daily
We also used intraday bictoin prices. The data are to heavy to be on this repository but can find them here : Bitcoin Data on Kaggle. So you can download them and put them in the "Data" folder. The code should work even if you time span is bigger than ours.
The code is relatively computotionnaly intensive and therefore takes a lot of time to run (around 10 hours on my computer). Thus, we have provided a instance of our Workspace with all the data and computations already done ('SavedInstance/LastInstance.mat'). This can allow you to just do or change to computations that you want and not everything.
We have also implemented an interface allowing the user to visualize the evolution of Drawdown with different parameters. However, this app is not optimised and therefore is running relatively slowly. You can use the "MDD_APP" matlab app installer file.
- Antoine-Michel Alexeev
- Julien Bisch
- Benjamin Souane
- Ludovic Suchet
- Prof. Eric Jondeau and Alexandre Pauli for the help provided.
- Thanks to anyone whose code was used.
