⚠ 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

Cross-Venue Arb

strat.cross-venue-arb
Strategy planned Spec started frozen

Cross-Venue Arb identifies price divergences between Polymarket and external prediction markets (Kalshi, PredictIt) that share an identical resolution

What it does

Cross-Venue Arb identifies price divergences between Polymarket and external prediction markets (Kalshi, PredictIt) that share an identical resolution source, then emits an OrderIntent to trade the cheaper leg on Polymarket. Both venues must resolve via the same authority; any mismatch blocks the trade.

Pipeline placement

runs after: Cross-venue price-feed adapter Cross-Venue Arb runs before: Risk guardrail pipeline

Applies to: Polymarket binary markets where an identical resolution source matches a live Kalshi or PredictIt contract and the price

Why it matters

If this failsConsequence
Resolution source mismatchTwo venues may look identical but resolve differently. Trading on a false parity creates an unhedged directional position rather than an arbitrage.
Stale external venue dataCross-venue prices update asynchronously. Stale Kalshi or PredictIt snapshots produce phantom gaps that evaporate before the order lands.
Fee drag understatedBoth venues charge fees; if min_gap_bps_after_fees is set too low, ostensible arb edges are consumed by combined fee drag leaving no profit.

Inputs

Polymarket inputs

InputSourceRequiredUse
Polymarket CLOB book (mid, spread, depth)ws_marketrequiredCompute Polymarket mid-price for gap calculation.
Market metadata (resolution source, status)clob_publicrequiredVerify resolution source matches external venue before acting.
Market open/closed statusclob_publicrequiredSkip closed or resolved markets.

Internal inputs

InputSourceRequiredUse
KillSwitch active flagKillSwitchrequiredAbort all intent emission if KillSwitch active.
External venue price snapshots (Kalshi, PredictIt)internal (cross-venue adapter)requiredCompute price gap between venues for the same event.
Builder code bytes32internal configrequiredInjected into builder field on every signed V2 OrderIntent.

Authority

What this bot is permitted to do

Trade

State

Readiness

Spec started

Status

planned

Class

Alpha Strategy

Default mode

shadow_only

Developer owner

Polytraders core — Strategy pod

Capital impact

Direct

Reason codes emitted

CodeSeverityMeaningAction
CROSS_VENUE_EDGE_TRADEINFOGap >= min_gap_bps_after_fees, sources match, pair approved. IOC OrderIntent emitted.Emit IOC OrderIntent.
CROSS_VENUE_NO_EDGEINFONet gap_bps below 30 bps hard floor after fee deduction.Skip; emit sampled DecisionReport.
CROSS_VENUE_EDGE_MARGINALWARNGap between 30 and 80 bps; trade marginal; size reduced 50%.Emit at 50% size; log warning.
CROSS_VENUE_SOURCE_MISMATCHHARD_REJECTResolution sources differ between Polymarket and external venue.Skip; no OrderIntent.
KILL_SWITCH_ACTIVEHARD_REJECTGlobal kill switch is active.Skip all markets; no OrderIntents emitted.

Used by

Reverse index — strategies that currently reference strat.cross-venue-arb. If you change this bot's authority or reason codes, these strategies must re-pass shadow.

StrategyStateActivity
AI Frontier — release-day takerfrozenlast triggered 44m ago

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

Why this matters

Strategy bots does NOT sign, route, or directly submit orders to the chain. 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…