Formulas Flashcards
Cash Dividends
close price - dividend value
Stock dividends/stock splits
close price/number of shares increase
VWAP
sum(prices x price volumes) / sum(volumes)
TWAP
sum(prices x time duration of prices) / sum(total time duration)
Implementation Shortfall
(Execution Price - Benchmark Price) x Quantity
Simple return
p(t) - p(t-1) / p(t-1) = (p(t) / p(t-1)) - 1
Log return
log(p(t)) - log(p(t-1))
Simple to log
log(1 + simple value)
Log to simple
(e^log return) - 1
Simple aggregate return
product(returns + 1) - 1
Log aggregate return
sum(returns)
Sharpe
mean(returns - interest rate or risk free rate) / sd(return - risk free rate)
Information
mean(returns - benchmark returns) / sd(returns - benchmark returns)
Sortino
mean(return - MAR) / downside deviation(return, MAR)
Maximum Drawdown
Maximum loss from peak to trough.