When a tariff is announced, most traders see one headline. The smart money sees a chain: tariffs hit semiconductor imports, which raise chip costs, which compress margins for cloud providers, which shifts capital into domestic chip fabs, which lifts construction materials, which... The butterfly effect is real. We map it.
79 RSS feeds scan financial, geopolitical, supply chain, and regulatory news in real-time
AI generates 8-12 node causal chains mapping ripple effects across sectors and assets
21-layer ensemble combines chain thesis with momentum, fundamentals, macro regime, and more
Chains scored for quality — template garbage rejected. Only specific, evidenced theses pass
Kelly-optimal position sizing, dynamic stop-losses from chain time horizon, IBKR execution
Type any market headline and watch the causal chain unfold
Inspired by Renaissance Technologies' multi-signal approach — no single indicator drives decisions. The butterfly causal chain is the backbone; everything else confirms or contradicts. 220+ API routes power 14 web pages across the full platform.
The backbone. Maps how a single event ripples through sectors and assets with specific tickers, influence scores, and directional reasoning. No chain thesis = no trade.
Buffett-style analysis: P/E ratios, profit margins, ROE, revenue growth, debt levels, free cash flow. Avoids value traps with a composite quality score.
Hidden Markov Model trained on SPY, VIX, yields, and DXY. Detects risk-on/risk-off/transition regimes. Adjusts position sizing and sector weights accordingly.
Real-time headline sentiment scoring across all ingested feeds. Measures magnitude and polarity to confirm or contradict the chain thesis.
Put/call ratios and unusual volume detection. Smart money often signals through derivatives before moving equities.
Tracks 26 historically correlated pairs. When correlations break, it's a signal — either mean reversion opportunity or regime change.
Jegadeesh-Titman momentum factor refined by Novy-Marx. 1M reversal + 3M/6M/12M momentum — the same factors Medallion used.
SEC Form 4 filings. CEO cluster buying is the strongest insider signal — they know their company better than any model.
Z-score reversion opportunities filtered by catalysts (real moves don't revert). Multi-chain convergence — when 3+ chains agree on a ticker, conviction amplifies.
The 3D visualization isn't decoration — it's a data-dense interface where size, color, brightness, position, and distance all carry meaning.
A deep dive into the architecture, algorithms, and philosophy powering ButterflyEffect.ai's SYNAPSE intelligence engine.
Edward Lorenz's butterfly effect — the sensitivity of complex systems to initial conditions — is not metaphor in financial markets. It's mechanism. A factory fire in Taipei cascades into chip shortages in Austin, which delays GPU shipments to hyperscalers, which pushes cloud compute costs up, which shifts AI training budgets, which moves capital markets.
Traditional trading systems analyze events in isolation. ButterflyEffect.ai maps the full causal chain — tracing influence, direction, and confidence across every node in the ripple. The platform doesn't predict price; it predicts causation, then derives price direction from the causal graph.
Each chain consists of 8-12 nodes, where every node carries:
The chain is the backbone of all decisions. Without a causal thesis, no trade is opened — regardless of what other signals say. This is enforced architecturally via REQUIRE_CHAIN_THESIS = True in the ensemble combiner.
SYNAPSE (Synaptic Network for Adaptive Prediction, Signals, and Execution) is a multi-layer intelligence system built for autonomous operation:
Tech Stack:
| Component | Technology | Purpose |
|---|---|---|
| Frontend | Next.js 14 + React + Three.js/WebGL | 3D neural map, dashboard, portfolio |
| Backend | FastAPI (Python) | API, trading engine, signal pipeline |
| Local LLM | Ollama (qwen2.5:14b fine-tuned) | Chain generation, on-device inference |
| Database | SQLite + JSON | Chain library, trade journal, system state |
| Broker | IBKR Client Portal Gateway | Live/paper trade execution |
| Market Data | yfinance (real prices only) | Price feeds, fundamentals, options data |
| Hosting | Render.com | API + frontend deployment |
| API Surface | 220+ routes | Full REST API covering signals, chains, trades, risk, portfolio, admin |
| Web Interface | 14 pages | Dashboard, neural map, portfolio, chain explorer, trade journal, and more |
Inspired by Renaissance Technologies' approach of combining thousands of weak signals, SYNAPSE uses a 21-component weighted ensemble. Each component returns a directional score (-1 to +1) and a confidence (0 to 1). Components are confidence-weighted — a high-confidence signal counts more than a low-confidence one.
| Component | Weight | Source | What It Measures |
|---|---|---|---|
| Causal Chain | 35% | AI chain engine | Causal thesis direction from butterfly analysis |
| Fundamental | 12% | yfinance | Buffett-style quality (P/E, margins, ROE, growth, debt) |
| Macro Regime | 12% | HMM model | 3-state HMM on SPY/VIX/yields/DXY (risk-on/off/transition) |
| Options Flow | 7% | yfinance | Put/call ratios, unusual volume detection |
| Sentiment | 6% | RSS headlines | Real-time news sentiment magnitude and polarity |
| Correlation | 6% | 26 pair tracker | Historical correlation divergence — mean reversion or regime break |
| Momentum | 4% | yfinance | Jegadeesh-Titman multi-timeframe (1M reversal + 3/6/12M trend) |
| Insider | 4% | SEC Form 4 | CEO/director cluster buying/selling patterns |
| Trend Confluence | 3% | Multi-TF analysis | Multi-timeframe trend agreement across daily/weekly/monthly |
| Spectral | 3% | FFT analysis | Fast Fourier Transform — dominant cycle detection and direction |
| Kernel | 3% | Kernel regression | Non-parametric regression — smoothed price trajectory prediction |
| Flow Imbalance | 2% | Volume analysis | Accumulation/distribution flow imbalance detection |
| Volatility Bias | 2% | Vol regime model | Volatility-regime adjusted directional bias |
| Market Language | 1% | N-gram model | Market language pattern recognition from price sequences |
| Pairs Spread | 1% | Cointegration | Cointegrated pair spread signals — mean reversion of spreads |
| Earnings Drift | 1% | Earnings calendar | Post-earnings announcement drift detection |
| Mean Reversion | 1% | Z-score model | Price deviation from mean, catalyst-filtered |
| Convergence | 1% | Chain library | Multi-chain agreement on same ticker direction |
| Scalp Signal | 1% | Short-term model | Intraday scalp direction signal for immediate edge |
| Gap Analysis | 1% | Overnight data | Overnight gap direction and magnitude analysis |
| Relative Strength | 1% | Sector data | Leadership persistence vs sector — relative outperformance |
Adaptive Weights: The ensemble periodically recalibrates weights based on component hit rates from the last 50 trades. Components with higher accuracy get boosted (up to 2x), underperformers get dampened (down to 0.5x). Weights are re-normalized to sum to 1.0 after adjustment.
Every position is sized across 6 dimensions using the Kelly Criterion — the mathematically optimal bet size given a known edge:
6 Exit Strategy Types — the Smart Position Manager selects the right exit for each trade:
| Exit Type | Description |
|---|---|
| Trailing Stop | Dynamic trailing stop that locks in gains as price moves in your favour — ratchets tighter as profit grows |
| Breakeven Stop | Automatically moves stop to entry price once a trade reaches a defined profit threshold — eliminates risk of winners turning into losers |
| Time-Horizon Stop | Max hold period derived from the chain's time horizon (5d immediate, 14d short, 45d medium, 90d long) |
| Fixed Stop Loss | Hard stop at 5-15% depending on time horizon — non-negotiable capital protection |
| Take Profit Target | Chain-derived profit target (8-30% depending on time horizon and influence) |
| Signal Decay Exit | Exponential decay closes positions when the original thesis loses strength (half-lives: 4h to 2mo) |
Dynamic Exit Thresholds — derived from the chain's time horizon and influence:
| Time Horizon | Max Hold | Stop Loss | Take Profit |
|---|---|---|---|
| Immediate (hours) | 5 days | 5% | 8% |
| Short (days) | 14 days | 8% | 12% |
| Medium (weeks) | 45 days | 12% | 20% |
| Long (months) | 90 days | 15% | 30% |
Transaction Cost Awareness: Kyle's lambda market impact model estimates spread + impact + commission. Trades are rejected if expected alpha doesn't exceed 2x total costs (safety multiplier). This prevents overtrading on weak signals — a key lesson from Renaissance's obsession with execution costs.
SYNAPSE runs a continuous 3-tier learning loop:
| Loop | Frequency | What It Does |
|---|---|---|
| Walk-Forward Validation | Every 2 hours | Blind test: model gets historical headlines WITHOUT outcomes, predicts chains, then compares to reality. Measures honest accuracy on data the model has never seen. |
| Weakness Analysis | Every 6 hours | Clusters failures by sector, direction error type, and asset. Identifies systematic weaknesses ("consistently gets energy sector wrong when VIX is high"). |
| Corrective Retraining | Every 30 minutes | Generates corrective training data from identified weaknesses, injects it into the local model's training set, and triggers fine-tuning. |
Current Performance:
Signal Attribution: Every closed trade is decomposed to measure which of the 22 signal layers contributed most to the outcome. Attribution scores feed back into the adaptive weight system — if Causal Chain carried the trade but Momentum was a drag, that's recorded and weights adjust. Full attribution is visible in the trade journal.
Conservative A/B Testing: New model versions, weight configurations, and strategy tweaks are tested in a sandboxed A/B framework before going live. The challenger runs on paper alongside the champion for a minimum of 50 trades or 2 weeks (whichever is longer). Only statistically significant improvements (p < 0.05) get promoted. This prevents regressions and ensures changes are genuinely better, not just noise.
Pre-Market Scanner: Every trading day at 07:00 ET, SYNAPSE runs a pre-market scan that ingests overnight news, futures movement, Asian/European session data, and pre-market volume to generate a ranked watchlist of the day's highest-probability causal chain opportunities. The scanner produces a morning brief delivered via Telegram with the top 5 actionable setups before the opening bell.
Accuracy is transparently reported and continuously calibrated. The system knows what it's bad at and specifically trains to fix those weaknesses.
Renaissance's Medallion Fund famously used statistical arbitrage as a core strategy. SYNAPSE implements Engle-Granger cointegration testing across 15+ candidate pairs:
Pairs signals are fed directly into the auto-trader alongside ensemble signals, creating a diversified signal mix that doesn't depend solely on directional bets.
The tradeable universe spans 340+ instruments across 23 sectors, automatically refreshed from S&P 500 indices:
Instrument types include individual equities, sector ETFs, bond ETFs, commodity ETFs, index ETFs, and country ETFs. The universe is designed to capture the full ripple surface of any global event.
The edge isn't prediction — it's causation mapping.
Most quantitative systems model price directly. They look at what happened and extrapolate forward. ButterflyEffect.ai is fundamentally different: it models why things happen, then derives price direction from the causal structure.
This approach has several structural advantages:
Renaissance's Medallion Fund proved that combining many weak signals with rigorous execution and continuous learning can produce extraordinary returns. ButterflyEffect.ai applies this philosophy with a unique twist: the butterfly causal chain provides structured reasoning that purely statistical approaches lack.
Every number below comes from our live IBKR paper trading account executing real orders at real market prices. No backtested hypotheticals — this is the system running autonomously right now.
| Ticker | Direction | P&L | Entry | Exit | Days Held |
|---|---|---|---|---|---|
| XLF | LONG | +$1,060.00 | $46.12 | $49.65 | 5d |
| ARM | LONG | +$409.00 | $131.50 | $139.68 | 3d |
| SMCI | SHORT | +$130.00 | $41.25 | $38.65 | 2d |
| MU | LONG | -$729.00 | $97.30 | $82.73 | 4d |
| NVDA | LONG | -$315.00 | $118.40 | $112.10 | 3d |
All trades executed via IBKR Client Portal Gateway at real market prices. Paper trading account — no real capital at risk. Historical performance does not guarantee future results.
The first trading system that explains WHY before it trades.
ButterflyEffect.ai Philosophy
Join the waitlist for priority access when we launch. Early members get founding pricing locked in for life.