⚠ INTERNAL — Operator UX mock · Design preview of V2 development path · demo-wired ≠ production-live · back to dev guide
Polygon · pUSD 10
📓 Developer Guide 📋 Reason Codes 📈 Shadow Mode
JD John Doe · Admin

Paper-Trade Runner

gov.paper-trade-runner
Governance & Ops beta Limited live frozen

Paper-Trade Runner mirrors every live signal against a simulated paper account in real time (mode=paper).

What it does

Paper-Trade Runner mirrors every live signal against a simulated paper account in real time (mode=paper). It subscribes to the live CLOB order book and signal streams, runs the strategy under test through the full execution path, and simulates fills against the current order book snapshot without submitting any real orders. It is the mandatory pre-promotion environment for all new strategies. Paper-Trade Runner emits OperationsReport records (and paper-tagged copies of any report kind it simulates) to polytraders.reports.operations, partitioned by bot_slug+epoch, retained for 1 year. A strategy may only be promoted to limited live when Paper-Trade Runner has accumulated at least min_paper_days of continuous paper trading with require_positive_risk_adj=true passing. Paper-Trade Runner never signs orders, never submits to the CLOB, and never touches on-chain state.

Pipeline placement

runs after: Live signal stream and CLOB order book snapshot are available; strategy under te Paper-Trade Runner runs before: Nothing — Paper-Trade Runner is a simulation bot in paper mode; it runs concurre

Applies to: All strategies configured for paper mode; any strategy awaiting promotion to live must complete min_paper_days of paper

Why it matters

If this failsConsequence
Strategy promoted to live without paper tradingUntested strategies can produce runaway losses on live capital. Paper trading is the mandatory governance gate. Skipping it removes the last safety check before real money is at risk.
Paper-Trade Runner uses different signal path than livePaper P&L is not predictive of live performance. Governance evidence is invalid. The promotion gate is passed on false grounds.
Simulated fills not marked paper-taggedPaper fills contaminate live P&L reports. PnLReporter may include hypothetical P&L in regulatory SettlementReports, which is a compliance violation.
min_paper_days requirement not enforcedA strategy may be promoted after insufficient observation. Edge cases and drawdown events that occur only after extended periods are never observed before live promotion.

Inputs

Polymarket inputs

InputSourceRequiredUse
Live CLOB order book snapshots (real-time mid-price, depth, spread)clob_publicrequiredPrimary signal for simulated fill computation. Paper fills are computed against the current live order book snapshot.
Live market metadata (negRisk flag, condition_id, market_type)clob_publicrequiredIdentify negative-risk markets for correct simulated payoff valuation.
Live WebSocket market feed (order book updates, trade events)ws_marketrequiredReal-time signal stream fed into the paper strategy; same feed as live execution.

Internal inputs

InputSourceRequiredUse
Live signal stream from intelligence and discovery botsinternalrequiredPaper-Trade Runner subscribes to the same internal signal bus as live strategies, ensuring paper results reflect live signal quality.
KillSwitch active flagKillSwitchoptionalWhen KillSwitch is active, suppress all paper-trading simulated order emission. Paper-Trade Runner continues to record signal observations but stops simulating fills.
Risk guardrail stack (paper simulation)internalrequiredAll risk guardrail votes are simulated in paper mode. Paper-Trade Runner must pass through the same guardrail logic as live strategies.

Authority

What this bot is permitted to do

Explain

State

Readiness

Limited live

Status

beta

Class

Governance Service

Default mode

limited_live

Developer owner

Polytraders core — Governance pod

Capital impact

Indirect

Reason codes emitted

CodeSeverityMeaningAction
PAPER_TRADE_RUNNER_FILL_SIMULATEDINFOA simulated fill was computed against the live order book snapshot and logged to the paper account ledger.No action — routine paper trading event.
PAPER_TRADE_RUNNER_GATE_PASSEDINFOThe strategy has completed min_paper_days of continuous paper trading with positive risk-adjusted P&L. It is eligible for promotion to limited live.No action — governance pod to review promotion evidence.
PAPER_TRADE_RUNNER_GATE_FAILEDWARNThe strategy completed min_paper_days but did not achieve positive risk-adjusted P&L (Sharpe ratio <= 0).Emit alert; do not promote strategy; governance pod to review.
PAPER_TRADE_RUNNER_RISK_ADJ_FAILWARNSharpe ratio at promotion gate evaluation is <= 0; require_positive_risk_adj gate failed.Block promotion gate; emit WARN; continue paper trading or revise strategy.
PAPER_TRADE_RUNNER_FEED_STALEWARNThe live CLOB WebSocket feed has been disconnected for more than 30 minutes; fill simulation paused and promotion gate clock suspended.Pause fill simulation; suspend promotion gate clock; emit alert; resume on feed recovery.
STALE_DATAWARNThe order book snapshot used for fill simulation is stale (last updated > 30s ago). Fill simulation skipped for this signal.Skip fill simulation for this tick; emit WARN; retry on next fresh snapshot.
KILL_SWITCH_ACTIVEWARNKillSwitch is active; simulated fill emission is suppressed. Paper trading timer continues.Suppress simulated fills; emit WARN; paper timer continues.
PAPER_TRADE_RUNNER_INTENT_BLOCKEDINFOA simulated intent was blocked by the paper-mode risk guardrail stack.Log; no fill emitted; paper account unchanged.
PARAMETER_CHANGE_REQUIRES_APPROVALHARD_REJECTmin_paper_days below hard limit (3), require_positive_risk_adj set to false, or simulated_capital_usd above hard limit (500000) attempted.Reject config change; emit alert.

Used by

Reverse index — strategies that currently reference gov.paper-trade-runner. If you change this bot's authority or reason codes, these strategies must re-pass shadow.

StrategyStateActivity
AI Frontier — release-day takerfrozenlast triggered 35m ago
NBA props — line-shopdemo-wiredlast triggered 42m ago
Crypto Q2 — basket rebalancefrozenlast triggered 2m ago

Showing 3 of 3 · demo-wired ≠ production-live

Why this matters

Governance & Ops bots does NOT propose, approve, or block trades; only observes and reports. Understanding the authority boundary prevents misuse and makes promotion-gate reviews faster and more reliable. View raw spec JSON →
Polytraders Operator UX Mock · INTERNAL · demo-wired ≠ production-live · the plan · reason codes · shadow-mode pipeline
⚙ Page Configuration
Current page settings
Loading configuration…