Conventions and notation¶
AbaQuant uses explicit but compact financial conventions. This page defines the common symbols and units used across the package.
Glossary¶
Term |
Meaning |
|---|---|
Annual decimal rate |
A rate such as |
Annual decimal volatility |
A volatility such as |
Maturity |
Time to expiration or cash-flow date, usually measured in years. |
Simple return |
\(R_t = P_t/P_{t-1}-1\). |
Log return |
\(r_t = \log(P_t/P_{t-1})\). |
Discount factor |
Present-value multiplier applied to a future cash flow. |
Risk-neutral valuation |
Pricing by discounted expected payoff under a risk-neutral measure. |
Provenance |
Metadata describing source, provider, cache status, request, and transformations. |
Rates and compounding¶
Most model inputs use decimal annual rates:
risk_free_rate = 0.05 # 5% per year, not 5.0
volatility = 0.20 # 20% annual volatility, not 20.0
Continuous discounting is commonly represented as:
where:
Symbol |
Meaning |
|---|---|
\(D(T)\) |
discount factor to maturity \(T\) |
\(r\) |
annual continuously compounded rate |
\(T\) |
maturity in years |
The RateCurve.discount_factor() method supports continuous, annual,
and simple compounding modes.
Option notation¶
Symbol |
Meaning |
|---|---|
\(S_0\) |
spot price |
\(K\) |
strike price |
\(T\) |
maturity in years |
\(r\) |
risk-free rate |
\(q\) |
dividend yield or carry yield |
\(\sigma\) |
annualized volatility |
\(N(\cdot)\) |
standard normal cumulative distribution function |
Black–Scholes–Merton call value:
with:
Portfolio notation¶
Symbol |
Meaning |
|---|---|
\(w\) |
asset-weight vector |
\(\mu\) |
expected-return vector |
\(\Sigma\) |
covariance matrix |
\(r_f\) |
risk-free rate |
\(\mathbf{1}\) |
vector of ones |
Long-only fully invested portfolios commonly satisfy:
Expected return and variance:
Sharpe ratio:
Credit notation¶
Symbol |
Meaning |
|---|---|
\(P_{ij}\) |
transition probability from rating \(i\) to destination state \(j\) |
\(PD\) |
default probability |
\(LGD\) |
loss given default |
\(R\) |
recovery rate |
\(\rho\) |
asset-correlation parameter in a one-factor copula |
The Gaussian one-factor form can be written as:
where \(Z\) is the systematic factor and \(\epsilon_i\) is an idiosyncratic factor.
Sign conventions¶
Option strategy long positions are positive quantities.
Option strategy short positions are negative quantities.
Premiums are generally entered as positive paid/received amounts; strategy logic applies the position sign.
Portfolio weights are decimal fractions;
0.25means 25% of capital.Transaction costs in backtests are basis points when parameters end in
_bps.
Missing data conventions¶
Provider facades may return empty frames or raise provider-specific errors when data are unavailable.
Financial-statement normalization may be incomplete if source facts do not map to canonical line items.
Credit proxy metrics can be unavailable when required denominator or historical fields are missing.