Repository navigation
Real-time SPX and NDX from Schwab, optional. Without Schwab nothing changes.
Not financial advice. Not a signal service. Every screenshot is synthetic demo data.
New
- Optional Schwab source. With a Schwab brokerage account and a free Schwab developer app, SPX and NDX come from Schwab in real time, with Schwab's own open interest. In testing it matched OCC's file on every contract (85,230 of 85,230 checks on Dec 1, 2026), and the SPX call wall matched the Alpaca map 12 times out of 12. NDX works again, map and /NQ Futures view.
- Data sources panel. Click Data sources in the top bar: which source serves each ticker right now, what each source unlocks, whether it is connected, and how to connect it. The Schwab sign-in happens there; Schwab asks for it every 7 days, and the badge turns amber two days before.
- SPX source picker. SPX has two working sources, so you choose: Auto (Schwab while connected), Schwab or Alpaca.
- TOS button. Copies today's 0DTE call wall, put wall and gamma flip as a thinkScript study for thinkorswim, with every move the levels made during the day. Paste it again to update.
How Schwab is handled
- REST only, never the Schwab streamer, so it does not compete with another app's stream.
- Any Schwab failure falls back to Alpaca (SPX) or Cboe (NDX) with a note on the map, and that ticker waits 1 to 15 minutes before trying Schwab again.
- The sign-in works only from the computer that runs the lab (on a headless server, use an SSH tunnel).
- Already use Edge Trader for Schwab? Point
SCHWAB_ENV_FILEat its.envand both share one weekly sign-in. - The recorder and the studies never use Schwab.
Setup steps are in the README under Data sources. Built on Schwabdev (MIT).
Fixed
- The OCC cache test no longer depends on the real date (CI was red since Nov 23).
Install
Download the zip below, unzip it, run setup.bat, then launch.bat. Needs Python 3.11 or newer, Node.js LTS and free Alpaca API keys; launch.bat demo works with no keys at all. A new install starts empty.
Upgrading
Your keys (.env) and caches (data/) are not part of a release, so updating never touches them. This release adds a Python package (schwabdev), so run setup.bat once after updating.
If you cloned with git: git pull, run setup.bat once, then launch.bat.
If you downloaded the ZIP: unzip this one into a new folder, copy your .env across, run setup.bat once, then start it with launch.bat.
old-folder/.env -> new-folder/.env