prediction.polymarket_mispricing
Detect mispricing by checking strike monotonicity across Polymarket markets you confirm share the same underlying and expiry; return violations where higher strikes exceed lower strikes.
Instructions
Monotonicity check (higher strike must not be priced above a lower
strike) across a set of Polymarket markets that YOU have already
confirmed share the same underlying asset and expiry/resolution date.
Does NOT verify or infer that settlement-condition equivalence itself -
Polymarket's API has no reliable field for it (see
architecture-roadmap.md Engineering Precision Backlog item 4); passing
unrelated markets produces a meaningless or false arbitrage signal.
Provide either token_ids or market_slugs (+ optional outcomes, default
all "yes"), same length and order as strikes. Not investment advice.
Args:
strikes: Strike for each rung, same order as token_ids/market_slugs.
At least 2 required.
token_ids: CLOB token_id per rung, if already known. Mutually
exclusive with market_slugs.
market_slugs: Polymarket market slug per rung, used to resolve
token_ids automatically.
outcomes: "yes"/"no" per rung when using market_slugs (default: all
"yes").
Returns:
On success: {"success": true, "violation_count", "violations", ...}
On failure: {"success": false, "error": {"type", "message"}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strikes | Yes | ||
| outcomes | No | ||
| token_ids | No | ||
| market_slugs | No |