AI Trading Swarm

6 specialized agents analyze the market independently. The swarm votes. You get a signal. Real data, no BS.

View on GitHub How It Works
$ python run.py scan AAPL NVDA BTC-USD SPY

Fetching market data for 4 tickers...

Ticker     Price     Signal    Consensus
──────────────────────────────────────────
AAPL      $250.12   SELL      -0.407
NVDA      $180.25   HOLD      -0.007
BTC-USD   $71,200   BUY       +0.359
SPY       $562.40   SELL      -0.343

The 6 Agents

SMA Crossover

Detects golden cross (20/50 day SMA) and death cross patterns. Identifies trend direction early.

Trend Agent

RSI Agent

Monitors RSI(14) for overbought (>70) and oversold (<30) conditions with divergence detection.

Momentum Agent

Momentum Agent

Measures 10-day price rate of change. Spots directional momentum before the crowd does.

Speed Agent

Bollinger Bands

Tracks price position relative to 2-sigma bands. Identifies breakouts and mean reversion setups.

Volatility Agent

Volume / OBV

On-Balance Volume trend + volume vs 20-day average. Confirms or rejects price moves.

Volume Agent

MACD Agent

MACD line vs signal line crossovers with histogram analysis. Catches momentum shifts early.

Signal Agent

Adaptive Swarm Weights

Each agent's influence adjusts based on its last 20 predictions. Agents that were right gain weight. Agents that missed lose it. The swarm learns.

Get the Code

Building in NYC or want free trading signals?

Get the Free NYC Zero Toolkit →