caesarw0 / CVAR_analysis

Shows the basic value at risk (VAR) and conditional value at risk (CVAR) analysis on yfinance collected data using Python.

Home Page:https://caesarw0.github.io/blog/2023-04-09-VAR/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VAR_CVAR_analysis

GIF

Shows the basic value at risk (VAR) and conditional value at risk (CVAR) analysis on yfinance collected data using Python.

VAR is a method used to measure the maximum potential losses that a company or an investment could experience over a certain time period, with a specified level of confidence.

CVAR (aka the expected shortfall) is a risk measure of the expected loss beyond the VAR level. It estimates the expected loss given that the loss exceeds the VAR level.

In practice, there are 3 main approaches to compute the VAR and CVAR, namely historical method, parametric method (variance-covariance), or Monte Carlo simulation. They are all widely used in portfolio and risk management.

About

Shows the basic value at risk (VAR) and conditional value at risk (CVAR) analysis on yfinance collected data using Python.

https://caesarw0.github.io/blog/2023-04-09-VAR/

License:MIT License


Languages

Language:Jupyter Notebook 100.0%