⚠ 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

EventCalendarMapper

disc.eventcalendarmapper
Market Discovery planned Spec started frozen

Map every Polymarket market to a known real-world calendar event (elections, sports fixtures, court dates, FOMC releases, earnings, debates) and emit

What it does

Map every Polymarket market to a known real-world calendar event (elections, sports fixtures, court dates, FOMC releases, earnings, debates) and emit a time-tagged ObservationReport so strategies can act on pre-event positioning logic.

Pipeline placement

runs after: MarketScanner scan cycle EventCalendarMapper runs before: Strategy OrderIntent generation

Applies to: All live Polymarket markets with a known resolution horizon

Why it matters

If this failsConsequence
Markets not linked to calendar eventsStrategies cannot distinguish between a stagnant market and one where a price-moving event is imminent, missing pre-event edge opportunities.
Stale calendar dataRescheduled or cancelled events leave strategies positioned on a timeline that no longer exists.

Inputs

Polymarket inputs

InputSourceRequiredUse
Market resolution date, question text, and linked event identifiersGamma APIrequiredPrimary source for matching markets to calendar events via resolution date and question NLP.
Market condition_id and neg-risk flagGamma APIrequiredIdentify neg-risk bundles that share a common real-world event.

Internal inputs

InputSourceRequiredUse
KillSwitch active flagrisk.kill_switchrequiredSuppress emissions when KillSwitch is active.

Authority

What this bot is permitted to do

Read-only Recommend

State

Readiness

Spec started

Status

planned

Class

Signal Service

Default mode

shadow_only

Developer owner

Polytraders core — Intelligence pod

Capital impact

Indirect

Reason codes emitted

CodeSeverityMeaningAction
CALENDAR_MISMATCHHARD_REJECTNo calendar event matched above the hard relevance floor; market not mapped.Exclude from mapping output; log market_id and best attempt score.
LOW_RELEVANCEWARNBest calendar match is between warning and default threshold.Include mapping with LOW_RELEVANCE warning annotation.
STALE_MARKET_DATAHARD_REJECTGamma API unavailable; mapping cycle halted.Halt cycle; retry on next interval.
KILL_SWITCH_ACTIVEHARD_REJECTKillSwitch is active; all emissions suppressed.Return immediately; do not emit any ObservationReports.

Used by

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

StrategyStateActivity
US Elections — sentiment fadedemo-wiredlast triggered 44m ago
BTC weekly — close-aware quotesdemo-wiredlast triggered 4m ago

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

Why this matters

Market Discovery bots does NOT propose or execute trades; only scores and ranks. 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…