Portfolio TWR Risk Attribution Analytics API

PortfolioTWRSharpeVaRBrinsonMarkowitzx402MCPOpenAPI

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.

POST/api/v1/portfolio-analytics/performance-twr-mwr$0.04 USDC

Compute linked TWR, Modified Dietz and XIRR from valuations and external cash flows, with optional annualisation.

POST/api/v1/portfolio-analytics/risk-metrics$0.03 USDC

Annualised volatility, Sharpe, Sortino, Calmar, max drawdown with peak/trough/recovery indices, skewness and excess kurtosis from a return series.

POST/api/v1/portfolio-analytics/var-cvar$0.04 USDC

Historical, parametric normal and Monte Carlo VaR/ES at caller confidence levels from a return series.

POST/api/v1/portfolio-analytics/brinson-attribution$0.04 USDC

Allocation, selection and interaction effects by segment for one or more periods, with optional Carino linking.

POST/api/v1/portfolio-analytics/factor-regression$0.04 USDC

OLS of portfolio excess returns on caller-supplied factors with intercept, betas, alpha and optional Newey-West standard errors.

POST/api/v1/portfolio-analytics/mean-variance-optimize$0.05 USDC

Minimum variance, target return, max Sharpe or target volatility portfolios from expected returns and a covariance matrix, with bounds.

POST/api/v1/portfolio-analytics/risk-parity-weights$0.04 USDC

Spinu ERC (or caller risk-budget) weights and inverse-volatility weights with risk-contribution breakdown.

POST/api/v1/portfolio-analytics/rebalance-trades$0.03 USDC

Compute buys and sells that restore target weights with tolerance bands, a cash buffer, minimum trade size and whole-share rounding.

POST/api/v1/portfolio-analytics/correlation-matrix$0.03 USDC

Pearson and Spearman correlation, optional covariance, rolling windows and Ledoit-Wolf shrinkage covariance from caller series.

POST/api/v1/portfolio-analytics/stress-test$0.03 USDC

Apply caller-defined asset-class, factor and rate shocks to holdings and report P/L by holding and in total.

POST/api/v1/portfolio-analytics/monte-carlo-goal$0.05 USDC

Project a contribution/withdrawal plan with mulberry32 Monte Carlo paths and report success probability and terminal wealth percentiles.

POST/api/v1/portfolio-analytics/wash-sale-detect$0.04 USDC

Flag IRC §1091 wash sales in caller transactions with FIFO lots, disallowed losses and replacement basis adjustments per IRS Publication 550.

POST/api/v1/portfolio-analytics/fee-drag-project$0.02 USDC

Compare terminal wealth with and without expense ratios, advisory fees and loads under multiplicative or subtractive fee methods.

POST/api/v1/portfolio-analytics/tracking-error-capture$0.03 USDC

Tracking error, information ratio, up/down capture, batting average and optional active share versus a benchmark.

POST/api/v1/portfolio-analytics/allocation-xray$0.03 USDC

Aggregate caller-supplied fund look-through holdings by asset class, sector, region and top underlying positions.