Performs an extensive portfolio risk analysis using historical returns data. Calculates a wide range of risk metrics including VaR, CVaR, volatility, Sharpe ratio, Sortino ratio, maximum drawdown, and more.
Use Cases:
Metrics Included:
Credits: 5 per request
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
Historical returns matrix (each inner array is the return time series for one asset)
[
[0.015, -0.008, 0.023, 0.012, -0.005],
[0.012, -0.006, 0.019, 0.01, -0.004],
[0.018, -0.009, 0.021, 0.014, -0.006],
[0.02, -0.012, 0.025, 0.016, -0.008]
]Portfolio weights (should sum to 1.0)
[0.3, 0.25, 0.25, 0.2]Confidence level for VaR/CVaR calculations
0.5 <= x <= 0.9990.95
Risk-free rate (per period, matching returns frequency)
0.0012
Comprehensive portfolio risk assessment completed successfully