Skip to content

vigorstablecoin/Calvin-VaR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VaR, CVaR - Value at Risk, Expected shortfall

This small project is about computing value at risk using different methods such as :

  • Exponentially weighted moving average

  • GARCH

  • Historically simulation

  • Monte Carlo simulation

  • Exteme value theory

  • Copulas

The computation have been backtested against several equity indices and foreign exchanges.

The code is written in C++ and relies on Boost and Eigen libraries. It has been compiled using GNU compiler.

g++ -g ./test/test_ptf_mc_var.cpp -o ./test/test_ptf_mc_var -I ./eigen-eigen-323c052e1731 -I ./include ./src/compute_returns_eigen.cpp ./src/instrument.cpp ./src/path.cpp ./src/pca.cpp ./src/portfolio.cpp ./src/ptf_var.cpp ./src/rng.cpp ./src/var_model.cpp

About

VaR CVaR Value at Risk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 54.5%
  • Jupyter Notebook 44.4%
  • TeX 0.6%
  • C++ 0.3%
  • JavaScript 0.1%
  • CSS 0.1%