Quantitative Finance
Risk, portfolios, CAPM, Kelly and option pricing.
This note covers returns and risk, mean–variance portfolios, the capital asset pricing model, position sizing, and option pricing.
Returns and risk
Return – The relative change in price from to . Simple returns combine across assets as a weighted average. Log returns add up across time periods.
Volatility – The standard deviation of returns. Over periods with independent returns, the mean scales with and the volatility with . There are about 252 trading days a year, so annual volatility ≈ daily volatility × 15.9.
The expected log return is about , so volatility drags down long-run growth even when the average simple return is unchanged.
Risk-free rate – The return on a riskless asset such as short-term government debt. An excess return is a return minus .
Sharpe ratio – Excess return per unit of risk:
The information ratio applies the same idea to returns relative to a benchmark. The fundamental law of active management says , where IC is the correlation between forecasts and outcomes and breadth is the number of independent bets.
Value at risk (VaR) and expected shortfall – VaR at level 95% is the loss exceeded only 5% of the time. Expected shortfall is the average loss in that worst 5%. Unlike VaR, expected shortfall never penalizes diversification (it is subadditive).
Mean–variance portfolios
Portfolio – A vector of weights over assets with . Weights may be negative, which means short selling. Write for the vector of expected returns and for the covariance matrix of returns, where . Then
Diversification – With two assets, , where is their correlation. Whenever is less than 1, mixing the two lowers risk below the weighted average of their volatilities.
Efficient frontier – The portfolios with the lowest variance for each target return (mean–variance analysis, Markowitz). They solve
Setting the gradient of the Lagrangian to zero (with multipliers for the two constraints) gives a linear system:
Plotted with volatility on the horizontal axis and return on the vertical, the frontier is the upper half of a hyperbola. An equivalent penalized form traces the same curve as the risk tolerance varies: gives the minimum-variance portfolio, and larger moves further along the frontier.
Special portfolios –
| Portfolio | What it maximizes or minimizes | Weights (before normalizing to sum to 1) |
|---|---|---|
| Minimum variance | lowest | |
| Tangency | highest Sharpe ratio | |
| Mean–variance optimal | for risk aversion | , no normalization |
Capital allocation line – Once a risk-free asset is available, the best risky portfolio to hold is the tangency portfolio. Every efficient portfolio is then a mix of the risk-free asset and the tangency portfolio (two-fund separation), lying on the straight line from tangent to the frontier. Its slope is the tangency portfolio's Sharpe ratio.
The estimated amplifies estimation noise. In practice is shrunk toward a simpler target (Ledoit–Wolf), modelled with factors, or the weights are constrained.
Capital asset pricing model and factors
Beta – How strongly an asset moves with the market . It is the slope from regressing the asset's excess return on the market's excess return. The intercept of that regression, , is the return not explained by the market.
Capital asset pricing model (CAPM) – In equilibrium, only market risk is rewarded:
Factor model – Several common drivers (such as market, size and value in Fama–French) with loadings , plus independent idiosyncratic noise . Writing for the matrix of loadings, for the factor covariance and for the diagonal matrix of idiosyncratic variances:
Kelly criterion
Kelly criterion – Choose the fraction of wealth to bet that maximizes the expected log of wealth, which maximizes long-run growth. For a bet paying to 1 that wins with probability :
In continuous time, for an asset with drift and volatility , , which gives growth rate .
Betting twice Kelly brings growth back down to the risk-free rate. Many practitioners bet half Kelly to cut variance.
Option pricing
Option – A European call (put) gives the right, but not the obligation, to buy (sell) an asset at the strike price at the maturity date . Its payoff is (respectively ), where is the asset price at time .
No arbitrage and the risk-neutral measure – If no riskless profit is available, every price equals its discounted expected payoff under an adjusted probability measure (the risk-neutral measure). Under , every asset grows on average at the risk-free rate .
Put–call parity – Owning a call and selling a put has the same payoff as owning the stock and borrowing :
Black–Scholes formula – This assumes the price follows a geometric Brownian motion (normally distributed log returns) with constant volatility and rate , and that the position can be hedged continuously. With the standard normal cumulative distribution function:
The price of any such option satisfies .
An at-the-money call () is worth about .
Binomial tree – A discrete approximation in which each step of length moves the price up by a factor or down by . Prices are computed backwards through the tree using the risk-neutral up probability
Greeks – The sensitivities of an option's price , with the standard normal density:
| Greek | Sensitivity to | Black–Scholes call |
|---|---|---|
| Delta | price, | |
| Gamma | price, second order, | |
| Vega | volatility, | |
| Theta | passage of time, | usually negative |
Delta hedging – Holding shares against a long option cancels small price moves. What remains earns , so a hedged option is a bet on volatility. Here is the volatility that makes the Black–Scholes price match the market price.