Oberon is a Binance USD-M Futures market microstructure research and paper market-making project. v0.9.1 focuses on signal discovery: collecting high-frequency public Futures market data, storing one SQLite database per symbol, and testing whether observable market states predict later price movement or adverse selection.
v0.9.1 intentionally does not submit live Binance orders. The collector uses public market-data WebSockets only. Optional paper fills are local simulations.
- Binance Futures partial-depth (
depth20@100ms), aggregate-trade and mark-price streams. - Per-symbol SQLite market databases under
/data/markets-v091. - L1/L5/L10/L20 order-book imbalance.
- Depth notional at 5/10/20 levels.
- Microprice and microprice displacement in bps.
- Aggressor trade-flow imbalance over 5/30/60 seconds.
- 5/30/60 second backward returns and 60-second realised volatility.
- Mark price, index price and funding rate snapshots from the mark-price stream.
directional_reportfor directional cohort discovery.signal_reportwith 5/15/30/60/120/300/900 second forward returns, quintile analysis, signal decay and a chronological 70/30 train/test split.- Optional local paper quotes/fills. No exchange order submission.
cp .env.example .env
nano .env
docker compose up -d --build
docker logs -f binance-market-makerThe default container name remains binance-market-maker so the reporting commands match earlier Oberon deployments. The Compose file also reuses oberon-market-maker-v090_oberon-data by default; set OBERON_VOLUME_NAME in .env if your existing data volume has a different name.
After collecting data:
docker exec binance-market-maker \
python -m app.signal_report \
--hours 72 \
--horizons 5,15,30,60,120,300,900 \
--min-samples 100 \
--top 30 \
--current-onlyFor a seven-day confirmation window:
docker exec binance-market-maker \
python -m app.signal_report \
--hours 168 \
--horizons 5,15,30,60,120,300,900 \
--min-samples 250 \
--top 50 \
--current-onlydocker exec binance-market-maker \
python -m app.directional_report \
--hours 72 \
--top 50 \
--current-onlyBy default it evaluates a 300-second horizon and applies a 16.5 bps expected round-trip hurdle. Override with --horizon and --round-trip-bps.
docker exec binance-market-maker python -m app.db_report --data-dir /dataEach symbol database contains market_samples with timestamps, bid/ask/mid, spread, depth, OBI, microprice, flow, return, volatility, mark/index price and funding rate. paper_fills is used only when PAPER_ENABLED=true.
A discovered relationship is not promoted to execution merely because its in-sample mean is positive. The signal report splits observations chronologically 70/30 and heavily penalises relationships that reverse sign out of sample. Re-run promising signals on later non-overlapping windows before using them as quote-skew or risk-gating inputs.
The most useful first production use of a validated signal is expected to be adverse-selection avoidance and quote skew, not outright directional speculation.
python -m venv .venv
. .venv/bin/activate
pip install -r requirements-dev.txt
make check- Research/paper only.
- Public Binance Futures feeds only.
- No API key or secret is required.
- No authenticated order endpoint exists in this release.
RESEARCH_ONLY=trueis required when paper mode is enabled.
0.9.1 — signal discovery research release.