Pairs Trading for a hedge position
Simulate a hedge position live in your browser. This runs the real Pairs Trading solver — adjust the inputs, watch it respond instantly, and export the result. No install, no account.
Controls
Presets
Ordinary least squares finds the line that minimizes the sum of squared vertical residuals (the gray drop-lines). R² measures the fraction of variance the line explains — 1 is perfect, 0 is useless. Add noise or remove points to watch the fit and R² degrade.
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
Controls
Presets
Geometric Brownian motion models a price with constant drift and random volatility — the assumption behind Black-Scholes. Running hundreds of simulated paths reveals the full distribution of outcomes, not just an average. Educational tool, not investment advice.
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
About this simulation
The full Pairs Trading tool models a hedge position with the same numerics engineers and scientists use — running entirely client-side. Change any parameter and the result updates in real time, so you can build intuition, check a design, or teach the concept without spreadsheets or installs.
More you can do with Pairs Trading
Other ways to simulate a hedge position
Frequently asked questions
- How do I simulate a hedge position?
- Open this page and use the live Pairs Trading tool below — set your inputs and the simulation runs instantly in your browser using real numerics. No install, no account needed.
- Is it free?
- Yes. The simulation runs free in your browser. A one-time unlock or a Pro plan adds advanced parameters, saved presets, data import, and clean exports.
- Can I use my own numbers?
- Absolutely — every input is adjustable, and with data import you can drive a hedge position from your own measurements.