feat: Introduce Polymarket API client, paper trading module, and essential utilities for market data and trading.

This commit is contained in:
2569718930@qq.com
2026-02-05 22:29:52 +08:00
parent 2c76c835c0
commit 81b3736ea1
9 changed files with 374 additions and 185 deletions
+2 -1
View File
@@ -132,7 +132,8 @@ class TelegramNotifier:
items_text = ""
for a in alerts:
type_icon = "" if a["type"] == "price" else "🐋"
items_text += f"{type_icon} <b>{a['market']}</b>: {a['msg']}\n"
buy_tag = " [🛒 模拟仓已买入]" if a.get("bought") else ""
items_text += f"{type_icon} <b>{a['market']}</b>: {a['msg']}{buy_tag}\n"
text = (
f"🔔 <b>城市监控报告 #{self._escape_html(city)}</b>\n\n"