1. home
  2. work
  3. protocol-research-lab

Binary Protocol Research Lab

Decodes a live service’s binary WebSocket stream and scores five continual-learning forecasters — paper-only.

Role
Author
Status
Active · 2026
Visibility
Private source
Area
Reverse engineering, AI & agents

Problem

Test whether real-time event streams carry any forecastable signal — honestly, without risking money or over-fitting to history.

How it flows

  1. WebSocket frames
  2. Decoder
  3. Locked forecast
  4. Outcome
  5. Prequential score

What I built

  1. A client that speaks only the observed handshake, auth and heartbeat of a binary WebSocket protocol and decodes every event frame.
  2. Forecasts are locked before each outcome, then scored with prequential evaluation across an ensemble of five continually-updated models.
  3. Paper-only accounting, offline replay, SQLite persistence that survives restarts, a responsive dashboard and Telegram PNG summaries.

Notes

No real wagering, wallet access or automated account actions exist in the codebase.

Stack

Node.jsWebSocketsSQLiteOnline learningDockerTelegram
↑↓ navigate ↵ open Esc close