Portfolio TWR Risk Attribution Analytics API
Time- and money-weighted returns, risk metrics, VaR/ES, Brinson attribution, factor regression, mean-variance and risk-parity weights, rebalance trades, correlation, stress tests, Monte Carlo goals, wash-sale detection, fee drag, tracking error and allocation look-through from caller-supplied holdings and returns.
Compute linked TWR, Modified Dietz and XIRR from valuations and external cash flows, with optional annualisation.
Annualised volatility, Sharpe, Sortino, Calmar, max drawdown with peak/trough/recovery indices, skewness and excess kurtosis from a return series.
Historical, parametric normal and Monte Carlo VaR/ES at caller confidence levels from a return series.
Allocation, selection and interaction effects by segment for one or more periods, with optional Carino linking.
OLS of portfolio excess returns on caller-supplied factors with intercept, betas, alpha and optional Newey-West standard errors.
Minimum variance, target return, max Sharpe or target volatility portfolios from expected returns and a covariance matrix, with bounds.
Spinu ERC (or caller risk-budget) weights and inverse-volatility weights with risk-contribution breakdown.
Compute buys and sells that restore target weights with tolerance bands, a cash buffer, minimum trade size and whole-share rounding.
Pearson and Spearman correlation, optional covariance, rolling windows and Ledoit-Wolf shrinkage covariance from caller series.
Apply caller-defined asset-class, factor and rate shocks to holdings and report P/L by holding and in total.
Project a contribution/withdrawal plan with mulberry32 Monte Carlo paths and report success probability and terminal wealth percentiles.
Flag IRC §1091 wash sales in caller transactions with FIFO lots, disallowed losses and replacement basis adjustments per IRS Publication 550.
Compare terminal wealth with and without expense ratios, advisory fees and loads under multiplicative or subtractive fee methods.
Tracking error, information ratio, up/down capture, batting average and optional active share versus a benchmark.
Aggregate caller-supplied fund look-through holdings by asset class, sector, region and top underlying positions.