FREE TOOL · RUNS IN YOUR BROWSER
Equities portfolio risk X-ray for US, Hong Kong and A-share portfolios
Load your own price files and see correlation, volatility, drawdown, VaR and CVaR and a Monte Carlo band, with the cross-market problems handled in the open: different holidays, different currencies, and what forward-filling does to the numbers.
Your files are read in your browser and are never uploaded; QuantKit’s servers do not receive them. You are responsible for complying with your data provider’s terms for any file you load. Demo data is synthetic. This is not investment advice.
1. Load data
Try a demo
Three portfolios built from a seeded random process with fictional tickers (SYN-US1, SYN-HK1.HK, SYN-SH1.SS …). They are not market data.
Or load your own files
Accepted layouts: Yahoo-style (Date, Close, Adj Close), TradingView-style (time, close), Date + Close, Date plus one column per ticker, or Date, Ticker, Close[, Currency]. Comma, semicolon or tab separated. Up to 20 series, 20,000 rows each, 5 MB per file.
Only used for files whose dates are timestamps (for example TradingView). The first date is echoed after loading.
Or paste a table
2. Check the series and set weights
Market and currency are guessed only from a .HK, .SS, .SH or .SZ suffix; anything else you must choose. Weights are percentages of the portfolio; a total below 100% leaves the rest in cash at 0%.
| Series | Market | Currency | Weight (%) | Rows | First | Last | Skipped | Jumps > 30% | Remove |
|---|---|---|---|---|---|---|---|---|---|
| No series loaded yet. | |||||||||
3. Settings
Monte Carlo band
Results
Risk summary
Correlation
Correlation as a table
Drawdown
VaR and CVaR (one day)
Monte Carlo band
Questions
Is my data uploaded anywhere?
No. Files are read in your browser and never uploaded; QuantKit’s servers do not receive them. Nothing is saved: reloading the page clears everything.
Why does QuantKit not provide live prices?
Redistributing exchange and vendor price history needs licences that a free tool cannot carry, so this tool ships no market data. You bring your own files; the demos are synthetic and clearly marked.
How are US, Hong Kong and A-share holidays handled?
Exchanges close on different days, so the dates present in every series are fewer than in any one series. The default keeps only dates present in all series; the alternative carries the last price forward for a limited number of rows and says how many zero-return days that adds. Missing dates are read from your files, not from a holiday calendar.
How are VaR and CVaR calculated, and what do they miss?
Historical VaR and CVaR use the empirical one-day return distribution of the portfolio; the parametric version assumes normal returns. Both are shown side by side because a gap between them signals fat tails. Neither knows about price limits, crises or anything beyond your sample.
How does currency translation work, and what if I skip it?
With exchange-rate files, each price is converted into your base currency on the asset’s own date before returns are computed. Without them, returns are in each asset’s own currency, which ignores currency moves; the page labels the result accordingly.
What this cannot tell you
- The future. Past returns are not a forecast, and the Monte Carlo band is a spread of outcomes under stated assumptions, not a prediction.
- Tail risk beyond your sample. Gaussian VaR assumes normal returns; historical VaR is only as good as the history you load, and 99% needs many observations.
- Crisis behaviour. Correlations tend to rise when markets fall, which a full-sample matrix averages away.
- True cross-market co-movement. US and Asian closes are hours apart but dated the same day, so same-date correlations understate it; this is not adjusted.
- Survivorship and data quality: the tickers you choose, unadjusted splits or dividends in your files, and errors in them.
- A-share daily price limits (±10% main board, ±20% STAR and ChiNext) truncate extreme moves and understate tail risk when limits are hit.
- What forward-filling does: it injects zero-return days, which lowers measured volatility and correlation.
- Currency, if you skip exchange-rate files: local-currency returns ignore currency moves.
- Weights are constant (rebalanced daily); a buy-and-hold portfolio drifts. No transaction costs, taxes, margin or liquidity.
- Whether you may hold any instrument.
Market-data MCP endpointProducts overviewHow we compute things