
Trump Code Market Signals
Predicts S&P 500 moves from Trump's social posts using 551 surviving rules from 31.5M tested combinations.
- skills.sh installs
- 1.3K
- GitHub stars
- 98
- last updated
- Jul 14, 2026
What it does
- Covers daily signal detection, LONG/SHORT consensus prediction, prediction market arbitrage, and a trilingual daily report
- Includes CLI commands (
signals,models,predict,arbitrage,health,report), a REST API, and an MCP server for Claude Code and Cursor - Ships open data files such as
surviving_rules.json,predictions_log.json, and 44,000+ Truth Social posts, with a circuit breaker for system health - Designed for quantitative researchers testing post-driven market signals, with a reported 61.3% hit rate across 566 predictions
Install
$ npx -y skills add reason-machines/trending-skills --skill trump-code-market-signals -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Trump Code — Market Signal Analysis
Skill by ara.so — Daily 2026 Skills collection.
Trump Code is an open-source system that applies brute-force computation to find statistically significant patterns between Trump's Truth Social/X posting behavior and S&P 500 movements. It has tested 31.5M model combinations, maintains 551 surviving rules, and has a verified 61.3% hit rate across 566 predictions (z=5.39, p<0.05).
Installation
git clone https://github.com/sstklen/trump-code.git
cd trump-code
pip install -r requirements.txt
Environment Variables
# Required for AI briefing and chatbot
export GEMINI_KEYS="key1,key2,key3" # Comma-separated Gemini API keys
# Optional: for Claude Opus deep analysis
export ANTHROPIC_API_KEY="your-key-here"
# Optional: for Polymarket/Kalshi integration
export POLYMARKET_API_KEY="your-key-here"
CLI — Key Commands
# Today's detected signals from Trump's posts
python3 trump_code_cli.py signals
# Model performance leaderboard (all 11 named models)
python3 trump_code_cli.py models
# Get LONG/SHORT consensus prediction
python3 trump_code_cli.py predict
Details
- Repository
- github.com/reason-machines/trending-skills
- Categories
- Finance & Trading, Data Science & Analytics, Social Media
- First seen
- Apr 16, 2026
More from reason-machines/trending-skills
All 163- Vinext Vite Nextjs1.3K
- Voicebox Voice Synthesis1.3K
- Aracli Deploy Management1.2K
- Codex Autoresearch Loop1.2K
- Fabro Workflow Factory1.2K
- Grimmory Self Hosted Library1.2K
- Keyid Agent Kit Mcp1.2K
- Kimodo Motion Diffusion1.2K
- Nightingale Karaoke1.2K
- Openhanako Personal Ai Agent1.2K
- Slug Font Rendering1.2K
- Taiwan Md Knowledge Base1.2K
- Witr Process Inspector1.2K
- Zeroboot Vm Sandbox1.2K
- Code Review Graph1.1K
- Flash Moe Inference1.1K
- Ghostling Libghostty Terminal1.1K
- 724 Office Ai Agent1K
- Claude Peers Mcp1K
- My Brain Is Full Crew1K
- Weixin Agent Sdk1K
- Dingtalk Workspace Cli941
- Polymarket Arbitrage Trading Bot927
- Awesome Phd Cv916
Similar to Trump Code Market Signals
More Finance & Trading
daily-stock-analysisSkillreason-machines/trending-skills1.9K installsLLM-powered analyzer for A-share, Hong Kong, and US stocks that pushes daily decision dashboards on a schedule.
Trading Signals McpMCP servergdietschTrading signals, pre-trade checks, and SEC insider and macro data over a hosted or x402-paid MCP server.
TradingMCPMCP serveratilaahmettaner5.3K starsMarket data, technical indicators, screeners, and backtests for AI assistants, fetched server-side without a TradingView login.
binance-futures-signal-botSkillreason-machines/trending-skills554 installsAutomated futures trading bot for Binance, Bybit, and OKX with multi-strategy signals and trailing stops.
sentiment-analysis-tradingSkillomer-metin/skills-for-antigravity338 installsPractical playbook for sentiment and alternative data signals across social media, news, on-chain flows, and positioning.
stock-dataSkillopenstockdata/stock-data-skill385 installsUnified CLI for A-share, Hong Kong, US stock, and crypto market data and analysis reports.