Personal Tool · Used Daily

Real-Time Derivatives Workstation

ES Payoff Live

A real-time options workstation for ES futures: a live broker feed in, payoff, greeks, expected move, and a volatility regime read out, all on one screen. It survives restarts and closed markets without going blank. The ES Options Payoff tool, grown up.

Problem

The static payoff tool is good for sketching a trade, but the questions that decide one need live data: what is ES doing right now, is implied vol rich or cheap against what has been realized, and what does today’s at-the-money straddle say about the expected move?

Broker platforms show most of these numbers somewhere, scattered across tabs in a UI built for placing orders, not for thinking. And a dashboard that is blank on weekends or after a restart is no use for the research that happens when the market is closed.

Approach

The screen answers four questions.

  1. What is the market doing?

    Front-month ES plus the VIX family (VIX, VIX1D, VIX9D, VIX3M) streamed from the broker, with trend sparklines from two weeks to five years.

  2. Is premium rich or cheap?

    Realized vol (5 to 30 day) against implied, an expected-move ladder across expiries, 25-delta risk reversal, max pain, and a rule-based regime label with a plain-language read.

  3. What does my position do?

    The same Black-76 engine as the static tool with live greeks per leg, plus an overlay for calendars whose front leg has already expired.

  4. Is it there when I need it?

    Warm replay on restart, last-known values for halted instruments, and one-click snapshots that freeze the full chain for after-hours replay.

Architecture

ES Payoff Live architecture A local FastAPI server receives live ticks and option chains from the broker's TWS session through ib_insync. Ticks land in an in-memory ring buffer that flushes to a date-partitioned parquet warehouse, which DuckDB queries. Analytics compute expected move, volatility comparisons, and the regime read. Changes are pushed to the browser dashboard over WebSocket. Snapshots freeze chains to disk for replay. Broker TWS my own session LOCAL SERVER · PYTHON / FASTAPI ib_insync feed ticks, chains, reconnects Ring buffer per stream, in memory Analytics expected move, IV vs RV, skew, regime read Parquet warehouse date-partitioned, queried with DuckDB flush replay Snapshots frozen chains for replay Browser dashboard Black-76 payoff + greeks · Chart.js · clean /public view for sharing WebSocket: changes only

Scroll sideways to see the full diagram.

Everything runs on my machine against my own broker session. Ticks are buffered in memory and flushed to parquet, so a restart replays recent state instead of starting blank. Why sharing this is fine →

Key decisions

  • Ring buffer + parquet files over a database server

    Ticks go to memory first and flush atomically to date-partitioned parquet. DuckDB reads the files directly and tolerates schema changes across days. Worst case on a crash is one flush cycle of ticks.

  • Push only what changed over the browser polling

    The server broadcasts diffs over WebSocket at a set rate: live ticks, chain updates, and recomputed analytics. The page stays live without hammering the server.

  • Run locally over a hosted web app

    The feed comes from a personal broker subscription, and market-data licensing does not allow redistributing it. Screenshots and architecture are public; the live data stays on my machine.

Results & status

  • Used daily as personal trading infrastructure.
  • Regime synthesis, snapshot mode, and weekend resilience were all added on top of the original payoff engine over time.
  • Source is not public.

Stack

  • Python
  • FastAPI
  • ib_insync
  • WebSocket
  • Parquet
  • DuckDB
  • Black-76 (JavaScript)
  • Chart.js

FAQ

Isn’t this giving away a trading edge?

No. The page describes plumbing: how data gets in, gets stored, and gets drawn. The trading rules, thresholds, and strategy research that sit on top of it are not described here, and the source is private.

Can I use it?

Not as a hosted app: the live feed is licensed to my broker account and can’t be redistributed. The static ES Options Payoff tool is free and public.

Is this investment advice?

No. Pricing uses the standard Black-76 model with live quotes, and regime labels are rule-based heuristics, not signals. Trade your own capital.

Links