Skip to content

blacksouane/QARM_RISK

Repository files navigation

QARM_RISK

Repository for the Quantitative asset and risk management - Risk Project

HEC Lausanne Logo

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 :

  1. Equally Weighted
  2. 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.

Data

We use two dataset of the Fama/French data:

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.

Implementation

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.

Interface

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.

Authors

  • Antoine-Michel Alexeev
  • Julien Bisch
  • Benjamin Souane
  • Ludovic Suchet

Acknowledgement

  • Prof. Eric Jondeau and Alexandre Pauli for the help provided.
  • Thanks to anyone whose code was used.

About

Repository for the Quantitative asset and risk management - Risk Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages