Skip to content

v1.3.0 — Pattern backtest + optimizer

Choose a tag to compare

@ronitg1 ronitg1 released this 26 Jun 20:55
· 124 commits to main since this release

Added

  • Pattern Scanner options backtest + optimizer. A new Backtest tab inside the Pattern Scanner replays the detectors over history: every time a pattern fires it simulates buying an option (your target delta + DTE) and selling it after N candles, then reports win rate, return, expectancy, and P&L by pattern. Optimize sweeps delta × DTE × hold and ranks every combination so you can see which option to buy and how long to hold. Prices off real historical option fills by default (the data plan exposes intraday option aggregates, confirmed live); BSM is a fast fallback.
  • Options Screener + Options-Strategy Backtest run off any portfolio or watchlist via a combined picker.

Changed

  • "Sleeve" → "Portfolio" across all remaining visible labels (Backtest + Options tabs, attribution/trade columns, empty states). API routes, types, and config keys unchanged.
  • Market News "Your book" feed = portfolio holdings only.

Fixed

  • Options Screener / backtests no longer error after you rename your portfolios — they seed to your first real portfolio instead of a hardcoded name.
  • start-backend.bat now auto-clears any stale instance on port 8000 before starting, preventing process pile-up / "address in use".

206 tests passing (11 new). Full notes in CHANGELOG.md.