SimulatorApplied engineering
A rule reading a series
A made-up series, and a rule that fires when a point lies far from the average of the points before it. Set how far, and how many points it looks back over.
- synthetic data: not a record of any market
- score: distance from the average, in units of the spread
- Times the rule fired
- 21
- Points outside the band
- 27%
- Longest stretch without firing
- 43 points
- The series
- Synthetic
Narrow the band and the rule fires on noise; widen it and it misses moves. A longer window makes the band slower to follow.
What the simulator does
- At each point the rule takes the average and the spread of the points just before, and scores the new point by its distance from that average in spreads.
- It fires when the score crosses the width of the band. A narrow band fires on noise; a wide one fires rarely and late.
- The series is synthetic: it is not a record of any market, and nothing here says the rule earns anything.
In Verace Parity
Schematic with a synthetic series: a cointegrated spread standardised to a z-score, with symmetric barriers that turn it into entry, take-profit and stop decisions. Verace Parity is a prototype with results only from backtests.
- Cointegrated spread
- Hedged combination of two prices that reverts to its mean
- Spread z-score
- Spread standardised by its OU mean and volatility
- Spread entry
- Opens a long or short spread position
- Entry barrier at 2.5
- Symmetric barrier the z-score must cross
What this is not
This simulator is an illustration of the principle, with made-up numbers. It does not run the lab's code or show the lab's data, and nothing in it is a measurement.
Read the write-up