Fix HYPE Polymarket discovery: read its event container

Polymarket now publishes a HYPE monthly event
(what-price-will-hyperliquid-hit-in-{month}, no year suffix), so the
old strike-probe fallback was both unnecessary and mis-ranged -- its
strikes [24..52] predated HYPE roughly doubling to ~$72, so every
"above" market ($76-92) was invisible and all 8 above rows came back
NO POLY. Point HYPE at its event like every other asset and re-range
the probe fallback to the current band [52..92].

Regenerated June pairs.json: HYPE now 16/16 with a Poly leg (was 8/16),
total 110/126 (every non-ZEC row paired; ZEC stays Kalshi-only). Only
HYPE rows changed; the other 7 assets are byte-identical.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Casey Judice
2026-06-01 17:21:15 -04:00
parent efbd50c154
commit bcc02cac49
2 changed files with 35 additions and 33 deletions
+30 -30
View File
@@ -755,120 +755,120 @@
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMAXMON-HYPE-26JUN30-9250",
"kalshi_strike": 92.5,
"poly_slug": null,
"poly_strike": null,
"poly_slug": "will-hyperliquid-reach-92-in-june",
"poly_strike": 92.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMAXMON-HYPE-26JUN30-9000",
"kalshi_strike": 90.0,
"poly_slug": null,
"poly_strike": null,
"poly_slug": "will-hyperliquid-reach-92-in-june",
"poly_strike": 92.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMAXMON-HYPE-26JUN30-8750",
"kalshi_strike": 87.5,
"poly_slug": null,
"poly_strike": null,
"poly_slug": "will-hyperliquid-reach-88-in-june",
"poly_strike": 88.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMAXMON-HYPE-26JUN30-8500",
"kalshi_strike": 85.0,
"poly_slug": null,
"poly_strike": null,
"poly_slug": "will-hyperliquid-reach-84-in-june",
"poly_strike": 84.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMAXMON-HYPE-26JUN30-8250",
"kalshi_strike": 82.5,
"poly_slug": null,
"poly_strike": null,
"poly_slug": "will-hyperliquid-reach-84-in-june",
"poly_strike": 84.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMAXMON-HYPE-26JUN30-8000",
"kalshi_strike": 80.0,
"poly_slug": null,
"poly_strike": null,
"poly_slug": "will-hyperliquid-reach-80-in-june",
"poly_strike": 80.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMAXMON-HYPE-26JUN30-7750",
"kalshi_strike": 77.5,
"poly_slug": null,
"poly_strike": null,
"poly_slug": "will-hyperliquid-reach-76-in-june",
"poly_strike": 76.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMAXMON-HYPE-26JUN30-7500",
"kalshi_strike": 75.0,
"poly_slug": null,
"poly_strike": null,
"poly_slug": "will-hyperliquid-reach-76-in-june",
"poly_strike": 76.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMINMON-HYPE-26JUN30-7000",
"kalshi_strike": 70.0,
"poly_slug": "will-hyperliquid-dip-to-52-in-june",
"poly_strike": 52.0,
"poly_slug": "will-hyperliquid-dip-to-68-in-june",
"poly_strike": 68.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMINMON-HYPE-26JUN30-6750",
"kalshi_strike": 67.5,
"poly_slug": "will-hyperliquid-dip-to-52-in-june",
"poly_strike": 52.0,
"poly_slug": "will-hyperliquid-dip-to-68-in-june",
"poly_strike": 68.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMINMON-HYPE-26JUN30-6500",
"kalshi_strike": 65.0,
"poly_slug": "will-hyperliquid-dip-to-52-in-june",
"poly_strike": 52.0,
"poly_slug": "will-hyperliquid-dip-to-64-in-june",
"poly_strike": 64.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMINMON-HYPE-26JUN30-6250",
"kalshi_strike": 62.5,
"poly_slug": "will-hyperliquid-dip-to-52-in-june",
"poly_strike": 52.0,
"poly_slug": "will-hyperliquid-dip-to-64-in-june",
"poly_strike": 64.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMINMON-HYPE-26JUN30-6000",
"kalshi_strike": 60.0,
"poly_slug": "will-hyperliquid-dip-to-52-in-june",
"poly_strike": 52.0,
"poly_slug": "will-hyperliquid-dip-to-60-in-june",
"poly_strike": 60.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMINMON-HYPE-26JUN30-5750",
"kalshi_strike": 57.5,
"poly_slug": "will-hyperliquid-dip-to-52-in-june",
"poly_strike": 52.0,
"poly_slug": "will-hyperliquid-dip-to-56-in-june",
"poly_strike": 56.0,
"active": true
},
{
"asset": "HYPE",
"kalshi_ticker": "KXHYPEMINMON-HYPE-26JUN30-5500",
"kalshi_strike": 55.0,
"poly_slug": "will-hyperliquid-dip-to-52-in-june",
"poly_strike": 52.0,
"poly_slug": "will-hyperliquid-dip-to-56-in-june",
"poly_strike": 56.0,
"active": true
},
{
+5 -3
View File
@@ -46,7 +46,8 @@ KBASE = "https://api.elections.kalshi.com/trade-api/v2"
GBASE = "https://gamma-api.polymarket.com"
# asset -> Polymarket name + event-slug templates ({m}=month name, {y}=year).
# Assets without an event container (HYPE) carry a `probe` strike list instead.
# A `probe` strike list is a fallback used when the event container is missing
# (or hasn't listed yet) -- HYPE keeps one in case its event lags the others.
ASSETS = {
"BTC": dict(name="bitcoin", events=["what-price-will-bitcoin-hit-in-{m}-{y}",
"what-price-will-bitcoin-hit-in-{m}"]),
@@ -60,8 +61,9 @@ ASSETS = {
"what-price-will-dogecoin-hit-in-{m}"]),
"BNB": dict(name="bnb", events=["what-price-will-bnb-hit-in-{m}",
"what-price-will-bnb-hit-in-{m}-{y}"]),
"HYPE": dict(name="hyperliquid", events=[],
probe=[52, 48, 44, 40, 38, 36, 32, 30, 28, 24]),
"HYPE": dict(name="hyperliquid", events=["what-price-will-hyperliquid-hit-in-{m}",
"what-price-will-hyperliquid-hit-in-{m}-{y}"],
probe=[52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92]),
"ZEC": dict(name="zcash", events=["what-price-will-zcash-hit-in-{m}-{y}",
"what-price-will-zcash-hit-in-{m}"],
probe=[]),