Repository navigation
The OPTIONS QUANT page from public option chains; version 1.2.0 - #23
Merged
Merged
Conversation
The terminal now writes {T}_options.json for US500, USTEC, XAUUSD,
XAGUSD and XTIUSD from the SPY, QQQ, GLD, SLV and USO option chains
(yfinance), every 15 minutes while New York trades. It covers GEX, the
gamma flip, walls, max pain, HVL, expected move, 25-delta skew, IV
against realized vol, put/call ratios, dealer scenarios, the structural
and gravity ladders (the UI's own formulas, ported) and the entropy
card, for the swing expiries and today's 0-DTE. Levels are in the feed's
price space.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01649i4SjUGvhXrPV3AiNhHN
wJubran
added a commit
that referenced
this pull request
Oct 18, 2026
The OPTIONS QUANT page from public option chains; version 1.2.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Options Quant was the last page with no producer: it showed nothing out of the box. The terminal now writes
{T}_options.jsonitself. The new module isbackend/local_analysis/options.py, and it runs as a newoptionsphase in the local runner. Files are rebuilt every 15 minutes while New York trades and every 2 hours otherwise.Source and coverage
Implied vols
What the file contains
Ladders. The structural and gravity ladders are the UI's own
options_0dte_derivations.js, ported line for line, including JavaScript rounding.Price space. The file uses
levels_space: "broker". Every level is multiplied by feed price ÷ ETF price, both taken at the time of the ETF quote. The 5-minute bar at that time is used when the quote is older than 10 minutes, so overnight futures moves don't shift the levels.cfd_ratio_usedcarries the ratio, as the UI expects.Not computed yet: the Heat Map surface (
probfield), Retail Trap and Vanna/Charm. The READMEs say so.Also in this PR
VERSIONand bothpackage.jsonfiles.[1.2.0], so the release can be published after merge.How it was tested
python -m pytestinbackend/: 215 passed on Python 3.13, 5 of them new (tests/test_options.py). The new tests use a synthetic SPY-like chain, a fake feed at 10× the ETF price, and no network calls. They check:_conversion_source: broker_native.ruff check --select E9,F63,F7,F82 .is clean.Ticker.option_chain).Screenshots
None.
Generated by Claude Code