Overview
ClearLedger Analytics uses industry‑standard mathematical definitions to evaluate portfolio performance, volatility, risk, and risk‑adjusted returns. These metrics form the foundation of the system’s optimization engine, efficient frontier modeling, attribution, and diversification scoring.
This article explains each metric used throughout ClearLedger, along with the exact formulas applied inside the analytics engine.
1. Expected Return
Expected return is the forward‑looking estimate of how much an investment is projected to earn on an annual basis after adjusting for the risk‑free rate. ClearLedger calculates expected return using daily log excess returns, which measure the difference between the stock’s return and the risk‑free return in continuous compounding space.
This approach is mathematically stable, avoids compounding distortions, and aligns with institutional risk engines such as Aladdin, MSCI Barra, Axioma, Bloomberg PORT, and Morningstar Direct.
Conceptual definition:
Expected return represents the annualized growth rate an asset is expected to achieve, based on its historical performance relative to the risk‑free rate.
How ClearLedger computes it:
- Compute daily log returns for the stock and the risk‑free asset
- Calculate daily log excess return (stock minus risk‑free)
- Average the daily excess returns over the selected date range
- Annualize the result by multiplying by 252 trading days
- Convert back to a normal annual return using the exponential function
This produces a stable, annualized expected return that feeds directly into ClearLedger’s optimization engine, efficient frontier modeling, and risk‑adjusted performance analytics.
2. Excess Standard Deviation (Risk)
Excess Standard Deviation is ClearLedger’s measure of portfolio risk. It represents how much an asset’s returns fluctuate relative to the risk‑free rate, using daily log excess returns. This captures the volatility of the asset’s performance after removing the portion explained by the risk‑free benchmark.
ClearLedger calculates excess risk in continuous compounding space (log returns), which produces stable, mathematically consistent risk estimates and avoids distortions caused by arithmetic compounding.
Conceptual definition:
Excess Standard Deviation measures the annualized volatility of an asset’s excess return over the risk‑free rate.
How ClearLedger computes it:
- Compute daily log returns for the stock
- Compute daily log returns for the risk‑free asset
- Subtract to obtain daily log excess returns
- Calculate the standard deviation of daily log excess returns
- Annualize the result using √252
This produces a clean, annualized measure of risk that feeds directly into Sharpe Ratio, Sortino Ratio, efficient frontier modeling, optimization, and risk decomposition.
3. Covariance
Covariance measures how two assets move together over time. A positive covariance indicates that the assets tend to rise and fall together, while a negative covariance indicates that they move in opposite directions. Covariance is a foundational component of portfolio risk, diversification analysis, and efficient frontier construction.
ClearLedger calculates covariance using daily adjusted returns for both assets, centered around each asset’s mean return. The result is then annualized to align with institutional risk engines such as Aladdin, MSCI Barra, Axioma, and Bloomberg PORT.
Conceptual definition:
Covariance represents the average product of each asset’s deviation from its mean return.
How ClearLedger computes it:
- Build a stable date spine based on the selected calendar range
- Retrieve daily adjusted returns for both assets
- Compute the mean return for each asset
- Calculate the sum of (X − μX)(Y − μY) across all dates
- Divide by the number of observations
- Annualize the covariance by multiplying by 252
This produces a clean, annualized covariance value used directly in portfolio variance, correlation matrices, diversification scoring, and efficient frontier optimization.
4. Correlation
Correlation measures the strength and direction of the relationship between two assets. It normalizes covariance to a scale between −1 and +1, making it easier to interpret. A correlation of +1 means the assets move perfectly together, −1 means they move perfectly opposite, and 0 means no linear relationship.
ClearLedger calculates correlation using daily adjusted returns for the selected asset and its benchmark (or target symbol), centered around each asset’s mean return. The formula divides the covariance numerator by the square root of the product of each asset’s squared deviations.
Conceptual definition:
Correlation represents how closely two assets move together, normalized by their individual volatilities.
How ClearLedger computes it:
- Build a stable date spine based on the selected calendar range
- Retrieve daily adjusted returns for the asset and benchmark
- Compute mean returns for both series
- Compute the covariance numerator: Σ(X − μX)(Y − μY)
- Compute the denominator: √(Σ(X − μX)² × Σ(Y − μY)²)
- Divide numerator by denominator
This produces a stable, mathematically correct correlation value used throughout ClearLedger’s diversification scoring, risk decomposition, and efficient frontier modeling.
5. Beta
Beta measures an asset’s systematic risk relative to its benchmark. It represents how sensitive the asset’s returns are to movements in the market. A beta greater than 1 means the asset tends to move more than the benchmark, while a beta less than 1 means it moves less. A negative beta indicates inverse movement.
ClearLedger calculates beta using a linear regression between the asset’s daily adjusted returns and the benchmark’s daily adjusted returns. The slope of this regression line is the beta value.
Conceptual definition:
Beta represents the slope of the best‑fit line between the asset’s returns and the benchmark’s returns.
How ClearLedger computes it:
- Build a stable date spine based on the selected calendar range
- Retrieve daily adjusted returns for the asset and benchmark
- Compute mean returns for both series
- Compute regression components:
- ΣX (benchmark returns)
- ΣY (asset returns)
- ΣXY (product of returns)
- ΣX² (squared benchmark returns)
- Apply the regression slope formula:
β = (n·ΣXY − ΣX·ΣY) / (n·ΣX² − (ΣX)²)
This regression‑based beta is mathematically identical to the method used by Aladdin, MSCI Barra, Axioma, and Bloomberg PORT. It feeds directly into ClearLedger’s risk decomposition, CAPM calculations, and optimization engine.
6. Alpha
Alpha measures the portion of an asset’s return that cannot be explained by its beta exposure to the benchmark. It represents the asset’s skill‑based or idiosyncratic performance — the return generated above or below what the benchmark would predict.
ClearLedger calculates alpha using a linear regression between the asset’s daily adjusted returns and the benchmark’s daily adjusted returns. While beta is the slope of the regression line, alpha is the intercept — the value of the asset’s return when the benchmark’s return is zero.
Conceptual definition:
Alpha represents the excess return an asset generates after accounting for its sensitivity (beta) to the benchmark.
How ClearLedger computes it:
- Build a stable date spine based on the selected calendar range
- Retrieve daily adjusted returns for the asset and benchmark
- Compute mean returns for both series
- Compute regression components:
- ΣX (benchmark returns)
- ΣY (asset returns)
- ΣXY (product of returns)
- ΣX² (squared benchmark returns)
- Compute beta (slope of regression):
β = (n·ΣXY − ΣX·ΣY) / (n·ΣX² − (ΣX)²) - Compute alpha (intercept):
α = μY − β·μX
This regression‑based alpha is mathematically identical to the method used by Aladdin, MSCI Barra, Axioma, and Bloomberg PORT. It feeds directly into ClearLedger’s attribution engine, performance decomposition, and optimization workflows.
7. Sharpe Ratio
The Sharpe Ratio measures risk‑adjusted performance by comparing an asset’s excess return to its excess volatility. It answers a simple question: how much return did the asset generate for each unit of risk taken above the risk‑free rate?
ClearLedger calculates the Sharpe Ratio using the asset’s average daily log excess return and its excess standard deviation, both annualized. This aligns with institutional risk engines such as Aladdin, MSCI Barra, Axioma, and Bloomberg PORT.
Conceptual definition:
Sharpe Ratio represents the amount of excess return earned per unit of excess risk.
How ClearLedger computes it:
- Compute daily log excess returns (asset minus risk‑free)
- Average the daily log excess returns
- Annualize the average excess return
- Compute excess standard deviation using daily log excess returns
- Annualize the excess standard deviation using √252
- Divide annualized excess return by annualized excess standard deviation
Formula (ClearLedger implementation):
Sharpe Ratio = [Excess Avg Return] / [Excess StdDev]
This produces a clean, annualized Sharpe Ratio used throughout ClearLedger’s optimization engine, performance ranking, and risk‑adjusted analytics.
8. Sortino Ratio
The Sortino Ratio measures risk‑adjusted performance using only downside volatility. Unlike the Sharpe Ratio, which penalizes both upside and downside movements, the Sortino Ratio focuses exclusively on harmful volatility — returns that fall below the minimum acceptable return (MAR). ClearLedger uses the risk‑free rate as the MAR by default.
This makes the Sortino Ratio a more targeted measure of risk‑adjusted performance, especially for assets or portfolios with asymmetric return distributions.
Conceptual definition:
Sortino Ratio represents the amount of excess return earned per unit of downside risk.
How ClearLedger computes it:
- Compute daily log excess returns (asset minus risk‑free)
- Identify downside returns: values below the minimum acceptable return
- Square and average the downside returns
- Take the square root to obtain downside deviation
- Annualize excess return and downside deviation
- Divide annualized excess return by annualized downside deviation
Formula (ClearLedger implementation):
Sortino Ratio = [Excess Avg Return] / [DownsideDeviation]
This produces a clean, annualized Sortino Ratio used throughout ClearLedger’s optimization engine, performance ranking, and risk‑adjusted analytics.
9. Asym Score
The Asym Score is ClearLedger’s proprietary measure of asymmetric return quality. It evaluates how favorable an asset’s risk‑adjusted performance is by combining the Sortino Ratio, drift penalty, and insider conviction into a single scalar.
Conceptual definition:
Asym Score represents the strength of an asset’s upside return profile after adjusting for downside risk, drift behavior, and insider conviction.
How ClearLedger computes it:
- Start with the Sortino Ratio and discard negative values
- Apply a drift penalty using the asset’s Drift Percentile
- Apply an insider conviction boost when ICvx200 ≥ 1
- ETFs or assets without drift pass through unadjusted
Formula (ClearLedger implementation):
Asym Score = Sortino × (1 − β × Drift) + InsiderBoost
Where β controls drift sensitivity (default 0.15) and InsiderBoost is applied only when ICvx200 ≥ 1.
10. The Analytical Ecosystem
These metrics do not function in isolation; they are the fundamental inputs that power the entire ClearLedger Analytics ecosystem. By utilizing consistent, institutional-grade formulas—identical to those employed by industry leaders such as Aladdin, MSCI Barra, Axioma, Bloomberg PORT, and Morningstar Direct—ClearLedger ensures mathematical integrity across all levels of analysis.
These definitions serve as the engine for:
- Strategic Modeling: Driving efficient frontier construction and portfolio optimization to identify optimal risk-return trade-offs.
- Risk & Performance Attribution: Breaking down portfolio outcomes through precise Alpha/Beta decomposition and risk factor analysis.
- Diversification Intelligence: Leveraging correlation-driven scoring to minimize systemic exposure and identify true non-correlated opportunities.
- Dynamic Decision Support: Providing real-time insight into Mix, Weight, and Variance deltas, ensuring that portfolio adjustments are based on stable, mathematically rigorous data.
By maintaining a standardized formulaic approach, ClearLedger allows users to move seamlessly from raw data analysis to high-level portfolio strategy with full transparency and confidence.