RH // VELOCITY
SIGNAL ENGINE v2.0

Prediction markets move faster than equities.

We capture the gap.

When a Kalshi or Polymarket contract reprices sharply, correlated equities take minutes to catch up. This engine detects velocity spikes — Δp/Δt exceeding threshold — and submits positions via Robinhood's agentic trading MCP before the gap closes.

KALSHI // LIVE
CONNECTING TO KALSHI API...
SIGNAL LOG
[14:23:47] KXFED-27APR-T4.25  vel=0.23  →  XLF +$4.20
[14:18:31] KXFED-27JUN-T4.50  vel=0.31  →  TLT +$2.85
[14:09:12] KXFED-27APR-T4.00  vel=0.19  →  GLD +$3.60
EXECUTION MODE: MOCK  //  149 TESTS PASSING
01 // THE SIGNAL

Velocity, not probability.

Equity markets lag.

Prediction markets are purpose-built for rapid repricing. When new information arrives, contract probabilities update in seconds. Equity prices take minutes.

Δp/Δt > 0.15

A probability velocity exceeding 0.15 units per minute, confirmed by a volume spike, indicates genuine information arrival — not noise. Two conditions must hold simultaneously.

A 2-hour window.

Positions are held until the equity market reprices or 2 hours elapse — whichever comes first. The thesis is information diffusion speed, not prediction.

02 // ARCHITECTURE

How it works.

Kalshi WSVelocityTrackerDeduplicatorSizerMCPClientRobinhoodPolymarket WSExitManager
149
tests passing
< 1s
WebSocket latency
0.15
default velocity threshold
2h
max hold time
03 // STACK
Signal Layer
Kalshi REST + WebSocket
Primary signal source. RSA-PSS authenticated polling with WebSocket fallback and exponential backoff.
Polymarket CLOB
Secondary signal feed via py-clob-client. Contributes to shared VelocityTracker.
VelocityTracker
Custom Δp/Δt engine with configurable rolling windows (default: 5m, 15m). Threshold-filtered.
SignalDeduplicator
Per-slug and per-sector deduplication. Sector cap enforcement prevents correlated flood.
ConfidenceDecay
Price centrality adjustment. Discounts signals near historical extremes where edge is thinner.
Execution Layer
Robinhood Agentic MCP
Live execution endpoint at agent.robinhood.com. Requires EXECUTION_MODE=live and private beta access.
MockMCPClient
Paper trading mode. Orders logged to logs/mock_orders.jsonl with full metadata. Default mode.
ExposureManager
Macro factor cap enforcement. 15% per-factor, 40% gross total. Checked before every order.
ExitManager
Time-decay primary exits (2h default). Reverse velocity and adverse move (3%) secondary exits.
rich dashboard
Terminal UI refreshing every 5s. Reads orders.jsonl, tracks open positions, shows unrealized P&L.
04 // STATUS
Signal Engine (Phase 0-1)COMPLETE
Mock Execution + Backtest (Phase 1)COMPLETE
Live MCP Execution (Phase 2)AWAITING ACCESS

Live execution requires Robinhood agentic trading account access, currently in private beta. Set EXECUTION_MODE=live only after receiving access confirmation.