Make sense of chance.
Explore three possibilities for the next price.
Three ways it could go.
Chances for the next recorded price. Each outcome is uncertain.
What the check data actually showed.
| Outcome | Events / checked | Average chance | Observed rate |
|---|
Similar averages do not prove calibration or forecast accuracy. These are historical checks, not confidence bounds for the next price.
Did the guesses help?
See the checksMake a guess to see how we checked it.
See how we checked
| Baseline | Log loss | Loss difference | 95% interval¹ |
|---|
Negative differences favor the selected procedure. Intervals spanning zero leave advantage unresolved; they do not establish equality.
Fold results & event support
Counts are observations. Downside counts show temperature / model selection / test. Classic mode shares its calibration block for temperature and selection.
| Fold · model | Train | Temperature | Selection | Test | Test loss | Untuned loss | Downside counts |
|---|
Rolling performance & shifts
Rolling windows · blue selected procedure / gray untuned empirical.
| Window | Log loss | Untuned loss | Brier | Untuned Brier | Downside events | Entropy |
|---|
Interval sensitivity & assumptions
¹ Paired moving-block percentile intervals use 400 deterministic resamples. These condition on the existing predictions, omit refitting uncertainty, assume sufficient stationarity, and do not adjust for repeated research or multiple comparisons. Block lengths are sensitivity checks, not independent confirmations.
| Baseline | Block length | 95% interval |
|---|
Validation audit · JSON
What counts as a big fall?
A big fall is a drop greater than about 1.98%. The exact cutoff is a log return below −0.02. The middle group includes both cutoff boundaries, and a rise means any positive return.
Check my prices
A data-quality summary appears after a run.
More about this guess
See the chances as a chart
What could happen next?
Each bar shows a chance out of 100. Together they cover every outcome. Rounding may put the total just above or below 100%.
Explore more charts
How the chance of a drop changed
Earlier guesses about a drop, checked against later answers.
Did the chances match what happened?
Closer to the dashed line is better. A few answers cannot tell us much.
Which guessing method did better?
Guessing errors on check data. Lower is better.
For curious explorers · technical details
Compare the exact scores
Comparative test scores appear after a run.
| Model | Scored rows | Log loss | Brier | Up Brier | Downside Brier |
|---|
What happened in this run?
No completed run.
Extra number checks
No completed run.
Saved Python example details
Load the precomputed Python benchmark to inspect its tree explanation.
Check a saved guess
Save your results before the next price arrives. Later, open that file here and enter the very next recorded price from the same series.
New browser results include a frozen guess. The saved Python example does not. Made-up prices are practice only.
Exact check details
Lower log loss is better. The difference is the saved method’s loss minus the simple training-frequency comparison’s loss. A negative difference favors the saved method for this one outcome.
An editable local file cannot prove when it was saved or whether you entered the very next price. One check cannot establish accuracy or an ability to make money. Nothing is uploaded or retrained.
These are uncertain guesses for learning, not instructions to buy or sell. We have not shown that they can make money.
Investment explorer
Put a number to “what if?”
Pick a stock, an amount, and a time. Explore its past or model a possible future.
Loading dated historical snapshots…
Inspect provider data (opens a new tab)Historical data, not live quotes. Data sources & adjustment details
Preparing the investment explorer…
Investment result
Investment value
The falls along the way
Percentage below the highest investment value reached so far. The point slider also explores this chart.
Assumptions behind this result
View chart values as a table
For exploration and learning. Future projections depend on assumptions and do not establish an ability to predict profitable investments. All values use USD and fractional shares.
Play with numbers.
Try a game or explore a pretend deal. These examples are separate from the price guesses and do not show how to make money.
What happens when two people choose?
A price deal and a two-outcome bet
A pretend option gives you a right to buy or sell later at an agreed price. The bet example has only two answers: win or lose. It is a math example, not a suggestion to bet.
Rules behind these examples
Black–Scholes assumes a European option, no dividends, constant volatility and a 3% interest rate. The separate Kelly example uses capped quarter-Kelly for a bet with fixed win and loss payoffs. It is not a stock allocation.
What wiggle size fits this deal price?
An option is a right to buy or sell later at an agreed price. This calculator finds the yearly wiggle size that fits its price, using the Black–Scholes formula. It is separate from the price explorer.
How the answer was found
Would trading costs change the result?
Imagine buying, then selling. A price rise can leave you with less than you expected once costs are paid. Try it with pretend money.
This is a separate math story. It does not use your forecasts or price file. You choose how many trades finish; the app does not predict fills. Results show gains or losses, not your account balance.
How this story works
Each trade uses the same starting amount. Every finished trade buys and sells once, with the same price change and costs. Unfinished trades are assumed never to fill, so they cost nothing here. All percentages are applied to the starting amount; money is not reinvested. Skipping a losing trade can help. Real orders can fill only partly, and their timing and price can differ.
This is arithmetic, not a historical trading test, order-book replay or estimate of future profit. HftBacktest, NautilusTrader and KalshiMarketMaker are not running here.
What if prices took surprise jumps?
Make a pretend world: prices wiggle and sometimes jump. You choose all the settings. This does not learn from your price file or predict real markets.
Where might the price change land?
Taller parts show where changes cluster. The area under a part of the curve gives its chance. Technical name: probability density (PDF).
What is the chance of this change or less?
Read the blue curve for the world with jumps. Gray is a smooth bell-shaped comparison with the same mean and variance. Technical name: cumulative probability (CDF).
Rules and calculation checks
A quick guide.
QuantLab is a learning tool. It makes uncertain guesses about the next price, then checks earlier guesses against answers.
Try it in three steps
- Open Price explorer. Keep Made-up prices selected.
- Press Show my guess. The three numbers show the chances of all three outcomes.
- Read Did the guesses help? A clever method is only useful if it beats a simple comparison.
What do the words mean?
Chance: how often something might happen in many similar situations. A 20% chance means about 20 out of 100, not a promise about one outcome.
Guessing method: a set of rules that learns from earlier prices. Researchers call it a model.
Practice and check: learn from earlier answers, then check on later answers that were kept apart. Looking at the check answers again and again can still make the test unfair.
Made-up prices: a repeatable example, not real market data. Doing well on it does not show that a method works in real markets.
Find your way around
Price explorer makes the three guesses. Number games has separate calculators, including a pretend trading-cost story. What if? lets you invent a world with surprise price jumps. The arrows beside extra details open them when you want to learn more.
Your file stays in this browser
Your CSV is read here and is not sent to a modeling server. A few recent calculations are kept temporarily in this tab. Use Clear my results or reload to remove the app’s saved data. The browser controls when memory is actually reclaimed.
These guesses can be wrong. They are not instructions to buy, sell or place a bet. This app has not shown that its guesses can make money.
More detail · methods, privacy and limits
Data cleaning & privacy
CSV parsing is bounded to 2 MiB, 2,500 price rows, 64 columns and 16,384 characters per field. We normalize header case, trim surrounding date/price whitespace and accept an initial byte-order mark. Every change is counted in the report. Duplicate dates, missing values and invalid prices are rejected with row numbers. Large moves, unchanged prices and calendar gaps are flagged and retained. We cannot verify whether prices are adjusted from two columns alone.
Temporary caching
Identical validated dates, prices, validation approach and model revision can reuse one of up to three fitted runs in this tab for ten minutes from computation. Cache hits are labeled. No uploaded prices or reports are written to localStorage, IndexedDB or a service-worker cache. Reloading or Clear my results removes application-held data; browser and operating-system memory reclamation is outside the app’s control. Public app assets may be cached by your browser or Hugging Face. The saved Python benchmark is fetched with revalidation.
Validation contract
At close t, returns, momentum, realized volatility and drawdown use only observations through t. Strict mode fits at least 500 training rows, temperatures on 150 later rows, and model choice on another 150 rows. A one-row embargo separates each boundary, followed by a reserved final 200-outcome evaluation. The coefficients, temperatures and model choice remain frozen for the latest forecast; features and EWMA state advance causally. Classic mode uses expanding training, a shared 150-row calibration/selection block and test blocks of up to 200. Repeatedly inspecting a reserved evaluation can still overfit it. This is not a permanently sealed holdout. Never tune using the test charts. Strict mode also lets unadjusted past-outcome counts compete during selection, with no temperature fitted for that candidate.
The target is the next observed close’s log return. Downside is below −0.02 log return, approximately −1.98% simple return; the middle event includes both boundaries, and the final event is a positive return. Probabilities sum to one.
EWMA challenger
The ridge mean stays frozen within each fold. Residual variance updates online with a fixed 20-observation half-life, using only outcomes already known before each forecast. Its own target never updates its own variance. The audit records volatility and timing; annualization assumes 252 equal-length observations and is only illustrative for gapped CSVs.
Two distinct execution modes
Browser experiment: empirical frequencies (untuned and temperature-adjusted in strict mode), ridge with Gaussian residual probabilities, EWMA residual-volatility probabilities, and multinomial logistic regression are fitted to the selected data. Synthetic JavaScript draws differ from Python even with the same seed.
Precomputed Python benchmark: a saved 900-observation synthetic run actually fitted scikit-learn, XGBoost and LightGBM, completed three training-only Optuna trials, computed SHAP and recorded MLflow metrics. Loading it does not execute those libraries. Download the full Python/Gradio project to run them locally.
When the learning examples may not be enough
A note appears when an outcome has fewer than 10 training examples, or when recent price patterns are unusual compared with training. These are simple checks, not a guarantee of reliability. The absence of a note does not prove a guess is safe or accurate.
Heavy-tail challenger study and decision · Earlier model tests and rejected changes · Data leakage and overfitting checks
Implementation limits
Classic calibration reuses data for temperatures and model choice. Strict mode separates these stages but cannot prevent repeated human inspection. Financial tails and nonstationarity can invalidate normal residual assumptions. Tiny test samples and sparse reliability bins are especially unreliable. The validation panel shows matched untuned and calibrated empirical baselines, fold populations, support warnings and descriptive paired uncertainty. It shows rolling loss, Brier score, entropy and event counts; it does not implement feature-drift testing or an automatic fallback strategy. The saved Python benchmark predates this panel and does not have row-matched baseline probabilities, so its new comparisons remain unavailable. SHAP explains uncalibrated raw class margins, not causal effects. Close-based information does not imply executable same-close fills. The separate trading-cost story uses chosen assumptions; it is not an economic backtest. No live trading is included.
TFT, DeepSurv, PPO, calibrated rough-volatility models, SPDE solvers and quantum algorithms remain unimplemented. Qiskit has no defined task here; TensorFlow would duplicate the optional PyTorch backend. The downloadable project records all requested books and access limits; full books were not read.
The implied-volatility solver and jump-mixture PDF/CDF explorer are independently implemented standard methods inspired by Quantflow. No upstream source is copied and the Python package is not installed in this static host.
Detailed method & provenance notes · Caching design · Data & cache security review · Full Python source and tests