18 Commits

Author SHA1 Message Date
GJ 9cece478ef fix: add display_name/emoji to rule_based portfolio + fallback in table header 2026-06-04 12:25:59 -04:00
GJ 7ed7a9c7f6 fix: overhaul AI trading decision engine v2
Root cause: both Claude & GPT-4o stuck in defensive assets (GLD/TLT/SLV)
while SPY rose +1.1%, losing ~ alpha. Models made emotion-driven
trades based on news headlines with no quantitative signal.

Changes:
- compute_technicals(): RSI-14, 20d momentum, 50MA signal per ticker
- Prompt now includes technical signal table + alpha feedback vs SPY
- Anti-defensiveness warning when defensive allocation >40%
- Anti-churn: max 2 trades/day (enforced), short-hold warning (<3 days)
- Prompt reframed: 'beat SPY in bull market requires being invested'
- rule_based portfolio: pure trend-following strategy as control group
  (buys top momentum 强势 tickers, sells 弱势 tickers held 3+ days)
- --dry-run flag for testing without file writes
- Performance leaderboard printed at end of each run
2026-05-22 12:31:39 -04:00
GJ 9308885438 feat: multi-model AI trading challenge (Claude vs GPT-4o)
- ai-portfolio.json: restructured for multi-model support
- ai-trading-decision.py: daily decision script queries each model API
- ai-trading.yml: GitHub Action runs daily at 4:30pm ET after market close
- index.html: leaderboard view with per-model holdings/trades tabs
2026-05-13 14:07:30 -04:00
github-actions[bot] d422a7aaa8 refactor: send briefing as single txt file instead of multiple messages 2026-05-10 01:44:19 -04:00
github-actions[bot] f5734cd6fe fix: quote syntax in send_briefing.py 2026-05-10 01:40:19 -04:00
github-actions[bot] 9d3c2a80ab feat: daily Telegram briefing (play podcast material, 11 sections) 2026-05-10 01:39:14 -04:00
github-actions[bot] 023be318b1 fix: slow down TTS rate -5% for better clarity 2026-05-10 01:00:35 -04:00
github-actions[bot] 7f0d2a03da fix: re-encode mp3 on merge to fix format mismatch (intro + edge-tts) 2026-05-10 00:56:14 -04:00
github-actions[bot] b3990cc4c6 podcast: 晓伊+云健 中文声音, intro.mp3 片头音乐 (8s) 2026-05-10 00:48:18 -04:00
github-actions[bot] e554fdad03 feat: daily podcast player (OpenAI TTS, 欣欣+建国 双主持) 2026-05-10 00:12:40 -04:00
github-actions[bot] 4a7d6207d1 ux: collapsible news, summary key-points, streak counter, nav underline, card animations 2026-05-09 20:26:41 -04:00
github-actions[bot] bb8ecd5b91 feat: add AI watchlist analysis, bull/bear debate, market replay + UI CSS 2026-05-09 20:07:12 -04:00
GJ 0fa3a3708f fix: add missing telegram-offset.json and always save offset 2026-05-03 15:52:49 -04:00
GJ d5d11f1a4a feat: add investment broadcast, subscription system & GoatCounter analytics
- scripts/daily-investment.py: Telegram 每日投资早报 (yfinance, 8 类别, 趋势分析)
- scripts/handle_subscriptions.py: Telegram bot 订阅处理器 (/subscribe /unsubscribe)
- data/investment-subscribers.json: 订阅者数据
- .github/workflows/investment-broadcast.yml: 每日 8:30 AM Toronto 推送
- .github/workflows/subscription-handler.yml: 每 30 分钟处理订阅请求
- index.html: 加入 Telegram 订阅按钮 + 订阅人数显示 + GoatCounter 统计
2026-05-03 14:25:47 -04:00
GJ 4d01fe5c9e ux: personal dashboard to top, section jump nav, macro color coding, fin-term tooltips, tighter simple mode 2026-05-03 02:50:15 -04:00
GJ 3aec4fee90 feat: beginner/pro mode toggle + news tldr explanations 2026-05-03 02:15:46 -04:00
GJ 4cea9d1865 feat: summary/calendar modules, live quotes, Chinese investor focus, email subscribe 2026-05-03 01:54:38 -04:00
GJ 051eebe3f4 init: finance-daily-site — Bloomberg风格金融日报 2026-05-03 01:41:19 -04:00