KOL feeds: fix dead/blocked sources, drop stale feeds (29→25)

Feed-health pass over KOL_FEEDS:
- raoulpal: stale Substack (last 2024-05) → Real Vision podcast feed
- dampedspring: paywalled (0 entries) → free "Damped Spring 101" Substack
- unchained: Cloudflare 403 → canonical Megaphone podcast feed
- lynalden: Cloudflare 202 → FeedBurner mirror
- glassnode: recovered via httpx http2=True (was 403 on HTTP/1.1)
- browser User-Agent + Accept headers on feed fetch
- removed dead feeds with no active replacement: placeholder,
  dragonfly, niccarter, eugene
- pin h2==4.3.0 (required by http2=True)

All 25 remaining feeds verified fetching real body content; newest
post per feed ≤88d. Bundles in-flight KOL-module work already in the
working tree (kol_x ingest, migration 027, tests).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
k
2026-06-09 22:55:16 +08:00
parent 213bb911e3
commit 54884f3e24
38 changed files with 2340 additions and 322 deletions
+33 -7
View File
@@ -31,14 +31,40 @@ last_tick_at: Optional[datetime] = None
# on Binance; those require a separate HL price feed (see BUG-08 note in CLAUDE.md).
# Until that feed is added, HYPE trades fall back to max-hold only.
ASSET_MAP: dict[str, str] = {
"btcusdt": "BTC",
"ethusdt": "ETH",
"solusdt": "SOL",
# Original 8
"btcusdt": "BTC",
"ethusdt": "ETH",
"solusdt": "SOL",
"trumpusdt": "TRUMP",
"bnbusdt": "BNB",
"dogeusdt": "DOGE",
"linkusdt": "LINK",
"aaveusdt": "AAVE",
"bnbusdt": "BNB",
"dogeusdt": "DOGE",
"linkusdt": "LINK",
"aaveusdt": "AAVE",
# Extended: all mainstream HL_PERPS that have Binance spot/perp pairs.
# Without these, any bot trade on these assets loses TP/SL/trailing
# protection — only max_hold remains as an exit.
"avaxusdt": "AVAX",
"arbusdt": "ARB",
"opusdt": "OP",
"suiusdt": "SUI",
"aptusdt": "APT",
"injusdt": "INJ",
"atomusdt": "ATOM",
"xrpusdt": "XRP",
"ltcusdt": "LTC",
"adausdt": "ADA",
"maticusdt": "MATIC",
"shibusdt": "SHIB",
"pepeusdt": "PEPE",
"wifusdt": "WIF",
"bonkusdt": "BONK",
"taousdt": "TAO",
"jupusdt": "JUP",
"renderusdt": "RENDER",
"fetusdt": "FET",
"tiausdt": "TIA",
"seiusdt": "SEI",
"pendleusdt": "PENDLE",
}
# Build the combined-stream WS URL from ASSET_MAP so the two are always in sync.