Repository navigation
docs(notebooks): add 108, the full SPXW chain streamed across the open - #1524
Merged
Merged
Conversation
Quotes on the 15,000 SPXW contracts nearest the money and on the 2,000 most-traded stocks, plus the option and stock full trade streams, read as Arrow batches in one Python process. Reports events per second, the receive-to-notebook delay, CPU use and dropped events. Runs in Colab: credentials are asked for in hidden prompts when no key or creds file is present.
The committed outputs now come from a 15-minute run across the 09:30 ET open on a stock Colab runtime (2 cores): 17,002 subscriptions, 58.5 million events, busiest second 405,914, 0 dropped. The notebook waits for its window (09:25 ET by default) and reports CPU, memory and per-minute, per-stock and per-expiration counts.
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.
Adds notebook 108: one Python process, one streaming session, loaded as far as a Pro plan allows (quotes on the 15,000 SPXW contracts nearest the money, quotes on the 2,000 most-traded stocks, and the full option and stock trade streams), read as Arrow record batches.
The committed outputs are from a 15-minute run across the 09:30 ET open on 23 Nov 2026, on a stock Colab runtime (Intel Xeon @ 2.20GHz, 2 logical cores, thetadatadx 0.9.0):
The notebook waits for its window (
START_ET, 09:25 ET by default;Nonestarts at once), shows a live panel once a second, then summarizes per stream, per minute, per stock and per SPXW expiration, and charts events per second, CPU, memory and delay. Credentials come fromTHETADATA_API_KEYorcreds.txt, or hidden prompts in Colab.