420 likes | 522 Views
Marin Karaga. An Example of Quant’s Task in Croatian Banking Industry. Introduction. A person has all of hers/his available money invested in one equity (stock) At the same time, she/he needs certain amount of money (for spending, other investments etc.)
E N D
Marin Karaga An Example of Quant’s Task in Croatian Banking Industry
Introduction... • A person has all of hers/his available money invested in one equity (stock) • At the same time, she/he needs certain amount of money (for spending, other investments etc.) • What can this person do in order to get the money?
First option... • First option is to close the position in equity (sell the equity) and use the proceeds from that transaction • Money is obtained in simple and relatively quick way • However, there is no longer the position in equity, so the person is no longer in a position to profit from potential increase of equity price
Second option... • Person strongly believes that the equity price will rise in the near future • What to do? Person needs the money and yet is reluctant to sell the position in equity • Second option could solve this problem: ask the bank for an equity margin loan! • What is equity margin loan?
Margin loan • Equity margin loan is a business transaction between bank and its client in which client deposits certain amount of equity in the bank as collateral and receives the loan.If the client doesn’t meet hers/his obligations on a loan (i.e. doesn’t repay the loan) bank has the right to sell the collateral and use the proceeds from that transaction to cover its loss from the loan.
Second option... • Person strongly believes that equity margin loan is the best solution and approaches the bank with hers/his equity and asks for a equity margin loan. • What are the main questions for the bank?What amount of loan can we issue to the client for a given amount of equity which is deposited as a collateral by the client?What are the risks associated with this loan?
Risks... • In every moment during the life of loan, bank has to be able to quickly sell the collateral and receive enough money from that transaction to cover its loss, should the client default on a loan (if the loan isn’t fully repaid) • So, there are two main sources of risks associated with the equity...
Risks... 1. Uncertainty about movements of equity priceEquity price could fall significantly and bank might not be able to receive enough money from closure of equity position... 2. Uncertainty about equity liquidityThe more time it takes you to close the position in equity, the more time its price has to fall below acceptable levels...
Risks... • How to quantify these risks?A task for bank’s quants! • What we need to do?We need to quantify equity price risk and somehow take liquidity of equity into account.
Equity price risk St - equity price at the end of day t • Let’s look at the ratio • Let’s assume that for every t, these ratios are independent and identically distributed random variables with following distribution
Equity price risk (EWMA) • Exponentially Weighted Moving Average • Estimate volatility of random variable by looking at its observations (realizations) in the past • How it works? • Let’s define random variable r and assume the following
EWMA • Let’s look at N past observations of this random variable • Possible estimate of variance (or its square root – standard deviation, volatility)
EWMA • We treat each squared observation equally, they all have the same contribution toward the estimate of variance • Can we improve this reasoning?
EWMA • Yesterday’s equity price is more indicative for tomorrow’s equity price that the price from, for example, 9 months ago is • So, let’s assign different weights to observations of our randomvariable, putting more weight on more recent observations
EWMA • Let’s choose the value of factor w, 0 < w < 1, and use it to transform the series towhere we set
EWMA • We have changed the weight assigned to i-th observation • Let’s see how the series of weights depends on the choice of factor w
EWMA • One can understand why factor w is commonly called decay factor
Equity price risk (cont.) • Using the same formula for variance estimation, now applied to the EWMA weighted series, we get • If we apply this to our ratio we get
Equity price risk • Let X be a random variable, • Let’s define random variable Z, • Obviously, • Hence, for some α, 0 < α < 1, we havewhere represents cumulative distribution function of random variable that has standard normal distribution
Equity price risk • We have
Equity price risk • If we apply the previous formula to our random variable we get • What this actually tells us?
Equity price risk • - equity price decrease over one day horizon • For α close to zero, we can say that there is only percent chance that the equity price over one day horizon will fall by more than percent • Now we have some measure of equity risk that comes from the uncertainty about movements of its price
Equity price risk + liquidity • Let’s assume that it takes us H days to close the position in equity • Since it takes us H days to close the position so we are exposed to movements of equity price for H days • Using previous notation, we need to examine following random variable • What is its distribution?
Equity price risk + liquidity • Since for each t we have and they are all independent, we have the following
Equity price risk + liquidity that is, we have
Equity price risk + liquidity • Applying the same procedure as before, we getand finally • All that remains is to figure out how to determine variable H
Equity liquidity • There are numerous ways to estimate equity liquidity • We’ll again look at the past observations of equity liquidity and try to estimate how long it would take us to close our position in collateral • The main factor determining how many days it could take us to close the position is, obviously, the size of position • Let’s denote the size of equity position with C (expressed as market value of equity position; number of equities we have times its current market price)
Equity liquidity • Let’s now look at the daily volumes that were traded with this equity on the equity market during last M days(daily volume – size of trades with equity during one day, market value of position that exchanged hands that day) • Let’s denote the following:VM – volume that was traded during the first day (the oldest day) in our M day long historyVM-1– volume that was traded during the second day (second oldest day) in our M day long historyetc.
Equity liquidity • Now, let’s see how many days we would have needed in order to close the equity position if we had started to close it on day M • After first day we have of our position left, after second day we have of our position left, etc. • Let’s define TM
Equity liquidity • TM is the number of days we would have needed in order to close the equity position if we started to close it on day M • In a similar way we can define TM-1as number of days we would have needed in order to close the equity position if we started to close it on day M-1
Equity liquidity • If we continue with these definitions, we will get the series of numbersall representing number of days we would have needed in order to close our position if we started to close it on certain days in the past • We need to determine our variable H based on the previous series of numbers, let’s be conservative and set
Equity price risk + liquidity risk • Now we have everything we need: - estimate of equity price volatilityH - estimate of equity liquidity • Combined measure of risk
Practical use • Remember what our question was:What amount of loan can the bank issue to its client for a given amount of equity which is deposited as a collateral by the client? • Let’s assume that the bank wants that in 99% of cases value of collateral doesn’t fall below the value of the loan during the selling of collateral • Expressed in language of our model: α = 0,01 • Next, let’s assume that the bank finds appropriate to set the decay factor w to be equal to 0,99
Practical use – loan approval • Let C denote the initial value of position in equity • Bank calculates H and • Then bank looks at the following
Practical use – loan approval • In 99% cases, • In other words, in 99% of cases, during the selling of collateral, price of collateral won’t fall below where is the value of collateral at the start of closure of equity position
Practical use – loan approval • So, the bank sets the value of loan • We have solved our problem! • Important note: once the loan has been issued, L is constant and C varies, so the client is obliged to maintain appropriate size of collateral – above relation has to be true during the entire life of loan “haircut”
Examples • C = HRK 10 million • Using the data from last 250 days (1 year) we get (α = 0,01, w = 0,99):HT: = 0,0127 (1,27%), H = 19 INGRA: = 0,0339 (3,39%), H = 82
Summary We have seen: • “Real life” case from Croatian banking industry • Identified risks associated with margin loan • Used EWMA to model equity volatility • Enhanced EWMA results in order to take equity liquidity risk into account • Transformed analytical result into straightforward figure (haircut) that can be quoted to potential clients • Two examples of haircut calculation
Final remarks • Every model is nothing more than just a model • Check the model assumptions, try to improve it, confirm its results by comparing them with the results form different models etc. • In “historical” model one needs to constantly update the underlying historical data in order to feed the model with the most recent information • Compare the actual losses with the level of losses predicted by the model – test the soundness of model