TradingAgents/tradingagents/dashboards/momentum
阳虎 d78eddb682 feat: Add Momentum Dashboard with EMA/BB/RSI indicators
- Real-time momentum scanner for Magnificent Seven + custom watchlists
- 21 EMA trend filter (long above, short below)
- Bollinger Band squeeze detection
- Volume momentum confirmation
- RSI overbought/oversold signals
- Streamlit interactive UI
- Multi-timeframe support (1H/Daily/Weekly)

Implements #383

🤖 Generated with OpenClaw AI Agent
2026-03-17 19:09:39 +08:00
..
README.md feat: Add Momentum Dashboard with EMA/BB/RSI indicators 2026-03-17 19:09:39 +08:00
__init__.py feat: Add Momentum Dashboard with EMA/BB/RSI indicators 2026-03-17 19:09:39 +08:00
app.py feat: Add Momentum Dashboard with EMA/BB/RSI indicators 2026-03-17 19:09:39 +08:00

README.md

Momentum Dashboard

Real-time momentum analysis dashboard for TradingAgents.

Features

21 EMA Trend Filter - Long above, short below Bollinger Band Squeeze - Identify low-volatility consolidation Volume Momentum - Confirm breakouts RSI Indicator - Overbought/oversold signals Multi-timeframe - 1H/Daily/Weekly analysis Magnificent Seven + Custom watchlists

Quick Start

1. Install Dependencies

pip install streamlit plotly yfinance pandas numpy

2. Run Dashboard

cd tradingagents/dashboards/momentum
streamlit run app.py

3. CLI Scanner (No UI)

python -m tradingagents.dashboards.momentum

Signals

Signal Meaning
STRONG_BUY Bullish trend + high strength
BUY Moderate bullish
WATCH_FOR_BREAKOUT Squeeze detected, potential move
HOLD No clear signal
SELL Moderate bearish
STRONG_SELL Bearish trend + low strength

Architecture

momentum/
├── __init__.py     # Core scanner & indicators
├── app.py          # Streamlit UI
└── README.md       # This file

Integration

To integrate with TradingAgents main workflow:

from tradingagents.dashboards.momentum import MomentumScanner

scanner = MomentumScanner(["AAPL", "NVDA", "TSLA"])
signals = scanner.scan_all()

# Use signals in trading decisions
for signal in signals:
    if signal["signal"] == "STRONG_BUY":
        # Execute buy logic
        pass

Future Enhancements

  • Real-time WebSocket data (Polygon.io)
  • Alert notifications (email/Telegram)
  • Portfolio tracking
  • Backtesting mode
  • Multi-exchange support

Built for TradingAgents by OpenClaw Community