Calculates portfolio Value at Risk (VaR) - the maximum expected loss over a given time horizon at a specified confidence level. Supports parametric (variance-covariance) method.
Use Cases:
Method:
Interpretation: VaR of 50,000 over the horizon.
Credits: 5 per request
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
Portfolio weights (should sum to 1.0)
[0.3, 0.25, 0.25, 0.2]Asset covariance matrix (annualized)
[
[0.04, 0.006, 0.008, 0.01],
[0.006, 0.09, 0.012, 0.015],
[0.008, 0.012, 0.0625, 0.018],
[0.01, 0.015, 0.018, 0.16]
]Confidence level (e.g., 0.95 for 95% VaR)
0.5 <= x <= 0.9990.95
Time horizon in years (e.g., 1/252 for daily, 1/12 for monthly)
0.001 <= x <= 100.00396825
Current portfolio value in currency units
x >= 01000000
VaR calculation method
parametric "parametric"