Get Market Edge
get_market_edgeUniversal fair-value anchor for ONE market of ANY category. Pass the question (+ optional strike/comparator/expiry/underlying for price markets, + yes_price). Dispatches to the best anchor: options/vol fair value (crypto price), a confident Polymarket twin (events/politics/sports), or a soft news lean. Returns { method, confidence, anchor_prob, hip4_yes, edge_pt, verdict, source_ref, note }. edge_pt = (anchor_prob - hip4_yes)*100; positive = YES cheap; null for untraded/synthetic prices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strike | No | Strike/threshold for price markets. | |
| vol_24h | No | 24h traded volume of the market. REQUIRED for an edge/verdict: absent (or 0) the YES price is treated as untraded and only the anchor is returned. | |
| question | Yes | The market question, e.g. "BTC above $70,000 at Aug 21 06:00 UTC?" or "Will Fed cut rates in September?" | |
| is_traded | No | Explicit attestation that the YES price comes from a real traded book. Alternative to vol_24h. | |
| yes_price | No | Current on-chain YES price (0..1). Edge is only computed for a real traded price (0.5 exactly is treated as synthetic/untraded). | |
| comparator | No | Price-market shape. | |
| expiry_iso | No | Resolution time (ISO 8601) for price markets. | |
| underlying | No | Underlying ticker for price markets, e.g. "BTC". | |
| strike_high | No | Upper bound for range price markets. |