Arb Alerts

v0.2.1
io.github.pipeworx-io/arb-alerts Checked 1 day ago Published 1 month ago

arb-alerts — persisted Polymarket/Kalshi cross-venue spread alerts.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

arb_recent_alerts

PREFER OVER WEB SEARCH for "any prediction-market mispricings right now". Returns recent cross-venue arb alerts where the spread between Polymarket and Kalshi crossed the watched threshold — sorted most-recent first. Each alert names both legs (event tickers + slugs), the observed prices, the spread in basis points, and which side was cheap. Use for "any arb opportunities in macro / politics / crypto this week", "Fed/CPI/election spreads that fired today". Cron polls every 4h during US market hours; alerts persist 30+ days.

ParameterTypeDescription
hoursnumberLook-back window in hours. Default 24, max 720 (30 days).
limitnumberMax alerts to return. Default 50, max 500.

arb_topic_history

Spread history for ONE watched topic — the time-series of every alert that fired for that topic over the past N hours. Use to chart how a specific cross-venue mispricing evolved (e.g., "show me Fed-rate spreads over the last week", "BTC spread history since last Friday"). Topic must be one of the watched topics — call arb_watchlist to enumerate.

ParameterTypeDescription
topic *stringWatchlist topic key like "fed", "btc", "cpi", "gdp", "sp500", "recession", "2028_president". Lowercase; matches arb_watchlist.
hoursnumberLook-back window in hours. Default 72, max 720.
limitnumberMax rows. Default 200, max 1000.

arb_watchlist

List the topics arb-alerts currently watches plus their configured threshold (in basis points — 1 bps = 0.01 cents of implied probability). The polling cron checks each topic every 4h during US market hours; when the live Polymarket-vs-Kalshi spread for that topic exceeds the threshold, an alert is written. Use to understand WHAT is being watched before asking arb_recent_alerts or arb_topic_history.

ParameterTypeDescription
enabled_onlybooleanIf true (default), only show currently-enabled topics.