Documentation

How PolyPulse is put together.

A concise technical guide to the engine, feed proxy, strategies, cockpit, PolyTron, persistence and crypto billing.

Overview

PolyPulse is a managed high-frequency trading system for Polymarket's short-horizon crypto markets. The core is a C++23 binary; the operator layer is a real-time web cockpit; the research layer is a persistent Postgres journal used by reports and AI Advisors.

C++23

Shared paper/live engine with EIP-712 and HMAC signing for live orders against a Polygon wallet.

feed_proxy

One upstream socket per venue, rebroadcast to the fleet with bounded queues, stalled-client cutoffs, and automatic reseed.

Postgres

Orders, fills, strategy versions, run results, feature snapshots and the candle archive persist for replay and reporting.

Timing Edge

The system watches fast-moving reference data and compares it with still-repricing binary books. The public product explains the behavior and controls; the exact signal recipe stays private.

feed_proxy

feed_proxy holds one upstream connection per venue and rebroadcasts normalized events to the fleet. Per-client bounded queues prevent a slow bot from consuming unbounded memory.

feed_proxy -> bot fleet -> cockpit SSE -> Postgres journal

Strategies

Oracle-lag sniper, Momentum Scalp V3 and the optional multi-signal predictor share the same sizing, exit and persistence layers.

  • Fires on directional confirmation from the reference stack, with early lead mode and reversal veto logic for blips.
  • Rotates inside active windows using momentum, book velocity, trailing stops and runner promotion.
  • Combines binary fair value, technicals, microstructure and regime history for optional higher-context decisions.

Exit Logic

Available exits include ratcheting trailing stops, profit-gated reversal exits, absolute and percent profit takes, hard and soft stops, oracle panic exits, timed exits and final-window endgame logic.

Controls

Compiled hard caps, deployed ceilings, price bands, loss pauses, cooldowns and seconds-remaining gates restrict what any strategy or AI proposal can change.

PolyTron

PolyTron reads live state and proposes guarded configuration diffs. Tournament Mode compares instances and produces strict JSON decisions: hold, adjust or recall.

{"decision":"adjust","changes":{"entry_confirm_ms":180,"runner_promote":true}}

Crypto Billing

The payment flow remains crypto payments via btcpay.exchange. Standard and Pro subscriptions use the existing BTCPay endpoints already wired into the site.

View crypto plans