feat: Implement core PolyWeather application with city weather query service, trend analysis, data collection, and dashboard UI.

This commit is contained in:
2569718930@qq.com
2026-03-11 10:49:35 +08:00
parent d2a40462c5
commit 1958b2764b
17 changed files with 24 additions and 279 deletions
+12 -1
View File
@@ -1263,6 +1263,7 @@ class PolymarketReadOnlyLayer:
ranked: List[
Tuple[
float,
float,
float,
Dict[str, Any],
@@ -1315,6 +1316,7 @@ class PolymarketReadOnlyLayer:
(
market_prob,
volume,
bucket_temp,
market,
yes_token,
no_token,
@@ -1331,7 +1333,16 @@ class PolymarketReadOnlyLayer:
max_items = max(1, int(limit or 4))
primary_slug = str(primary_market.get("slug") or "").strip().lower()
for market_prob, _volume, market, yes_token, no_token, yes_prices, no_prices in ranked[
for (
market_prob,
_volume,
bucket_temp,
market,
yes_token,
no_token,
yes_prices,
no_prices,
) in ranked[
:max_items
]:
yes_buy = _extract_price(yes_prices.get("buy"))