sstklen

sstklen / trump-code

Public

🔐 AI decoding Trump's posts × stock market | AI 解碼川普推文 × 美股 | AIでトランプ投稿×株式市場を解読 — 31.5M models, 61.3% hit rate, open source

312
29
100% credibility
Found Mar 16, 2026 at 312 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

AI-driven analysis of Donald Trump's Truth Social posts to detect statistically significant patterns correlating with S&P 500 movements, featuring brute-force model testing, live dashboards, and prediction market integration.

How It Works

1
🔍 Discover Trump Code

You hear about a tool that spots hidden market signals in Trump's social posts from a friend or online.

2
🌐 Visit the Live Dashboard

Head to the website to see real-time analysis of Trump's latest messages and their potential stock impacts.

3
🚨 Spot Today's Signals

Watch as the system highlights key words like tariffs or deals from posts, linking them to buy or sell ideas with confidence scores.

4
📊 Check Predictions and Rankings

Review the top-performing patterns and today's overall market lean, like bullish or bearish consensus.

5
💬 Chat for Insights

Ask the AI questions about signals, opportunities, or your own trading thoughts to get personalized explanations.

🎯 Decode the Patterns

You now understand how Trump's words might move markets, with tools to track and learn from real patterns safely.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 312 to 312 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is trump-code?

Trump-code uses Python to scan Trump's Truth Social posts—often published 6 hours before X—for patterns that predict S&P 500 moves, like pre-market "RELIEF" signals or tariff sequences. It brute-forces 31.5 million model combos to generate 551 rules with a 61.3% hit rate on 566 predictions, decoding Trump tariffs, foreign policy hints, and even portrait anomalies for trading edges. Users get a live dashboard, CLI for signals/models/predicts, API for real-time data, and open datasets for custom analysis.

Why is it gaining traction?

Unlike generic sentiment tools, it cross-verifies Truth Social vs. X for arbitrage windows and integrates Polymarket/Kalshi for prediction market spreads, spotting China signals hidden from X. The daily-evolving rules, circuit breakers, and trilingual reports make it a closed-loop system for Trump code decoding, with CLI like `trump_code_cli.py arbitrage` delivering instant insights. Open data and a no-build dashboard lower barriers for quick experiments.

Who should use this?

Quant devs building social-sentiment algos focused on high-impact events like decoding Trump's liberation day tariffs or AI playbook transcripts. Day traders monitoring overnight signals for S&P gaps, or ML engineers testing speculative decoding github techniques on real market data. Avoid if you're not into niche political market noise.

Verdict

Fun research toy for Trump-specific trading signals, but 1.0% credibility score and 312 stars signal early-stage risks—docs are solid, data open, but lacks tests and production hardening. Fork for experiments if you're into github decoding ml; skip for live capital.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.