HodlX Guest Post Submit Your Post
The crypto market is known for its extreme volatility, where the price of cryptocurrencies can vigorously fluctuate within a short period of time. In a market full of uncertainty, managing risks is therefore crucial for any traders. Only by analyzing the possible risks of investments can traders determine the extent and occurrence ratio of potential losses in their portfolios.
To evaluate portfolio risk, we can make use of different tools in the market, such as Value at Risk (VaR), to calculate the “worse-case scenario” in trading.
Understanding Value at Risk (VaR)
Dubbed the “new science of risk management”, Value at Risk (VaR) is a statistic that measures and quantifies the level of financial risk within a firm, a portfolio or a position over a specific time frame. It can be applied to measure the risk exposure of specific positions or whole portfolios.
A VaR statistic has three components: a time period, a confidence level and a loss amount (or loss percentage). Let’s look at an example of using VaR to calculate risks.
BTC/USDT: VaR Calculation
We will focus on the minute closing price of BTC/USDT between Aug 15–21, 2019. This calculation assumes that log-returns are normally distributed.
Step 1: Calculate the minute log-returns
Minute log-returns can be calculated based on the below formula:
Here we use the logarithm of returns instead of price returns. The benefits of using log-returns, versus prices, is log-normality: assuming the prices are distributed log normally, the log return is conveniently normally distributed, which is handy given much of classic statistics presumes normality.
We can then divide the log-returns into 27 intervals: (-14%, -13%), (-12%, -11%), …, (12%, 13%), count the number of minute returns for each interval and we get the following histogram:
Step 2: Calculate the average and standard deviation of log returns
We can then calculate the average and standard deviation of log-returns based on the formulas:
The average (µ) of 10,080-minute log-returns turns out to be 0.001083%, and the standard deviation (?) is 0.03170.
Step 3: Calculate VaR based on confidence intervals of normal distribution
Assuming the returns are normally distributed, we can see where the worst 5% and 1% lie on the normal curve. They show traders’ desired confidence, the standard deviation and the average from the below table:
The Verdict
There are two ways to understand the VaR calculation results:
- With 95% and 99% confidence, we can expect that the worst loss will not exceed 5.23% and 7.38% respectively;
- If we invest $10,000, we are 95% and 99% confident that our worst minute-loss will not exceed $523 (=$10,000 x -5.23%) and $738 (=$10,000 x -7.38%) respectively.
VaR is useful for calculating the maximum expected loss on an investment over a given time and a specified degree of confidence. Traders can apply VaR to determine the level of risk or potential losses of their trading portfolios easily and hence take necessary measures to control the risks.
This post originally appeared on OKEx Blog. Read more.
Disclaimer: This material should not be taken as the basis for making investment decisions, nor be construed as a recommendation to engage in investment transactions. Trading digital assets involve significant risk and can result in the loss of your invested capital. You should ensure that you fully understand the risk involved and take into consideration your level of experience, investment objectives and seek independent financial advice if necessary.
About OKEx
OKEx is a world-leading digital asset exchange headquartered in Malta, offering comprehensive digital assets trading services including token trading, futures trading, perpetual swap trading and index tracker to global traders with blockchain technology. Currently, the exchange offers over 400 token and futures trading pairs enabling users to optimize their strategies.
Follow us on Twitter.
Check our latest press material on Press Room.
Follow Us on Twitter Facebook Telegram