Atomic Signal Modules

News, Chart, and Metrics signal generators — what they do and how to configure them.

Overview

Atomic signal modules are the data ingestion and analysis layer of AIVEX. Each module:

  1. Pulls data from external sources on a configurable schedule
  2. Applies domain-specific analysis to produce a directional signal
  3. Scores the signal with a confidence value
  4. Writes the output to the shared database for the Signal Engine to consume

News Signal Module

Package: news/ Default interval: 60 seconds

The News module scrapes financial news from configured RSS feeds and APIs, then runs each article through an NLP pipeline to extract:

  • Sentiment: Positive / negative / neutral at the article level
  • Named entities: Company names, tickers, sectors
  • Event type: Earnings, M&A, regulatory, macro, etc.
  • Urgency: A 0–1 score indicating time-sensitivity

Configuration

VariableDefaultDescription
NEWS_INTERVAL60Cycle interval in seconds
NEWS_MIN_CONFIDENCE0.3Minimum confidence to write to DB
NEWS_LOOKBACK_HOURS24How far back to consider articles as recent

Chart Signal Module

Package: chart/ Default interval: 300 seconds

The Chart module downloads OHLCV data and computes technical indicators. It analyzes:

  • Trend (moving averages, ADX)
  • Momentum (RSI, MACD, Stochastic)
  • Volume (OBV, VWAP divergence)
  • Volatility (Bollinger Bands, ATR)
  • Pattern recognition (support/resistance, breakouts)

Configuration

VariableDefaultDescription
CHART_INTERVAL300Cycle interval in seconds
CHART_LOOKBACK_DAYS90Historical bars for indicator calculation
CHART_TIMEFRAMES1d,4hComma-separated timeframes to analyze

Metrics Signal Module

Package: metrics/ Default interval: 3600 seconds

The Metrics module processes fundamental data:

  • Valuation ratios (P/E, P/B, EV/EBITDA)
  • Earnings data (EPS, revenue, guidance)
  • Analyst estimates and revisions
  • Sector-relative rankings

Because fundamental data changes slowly, this module runs on a longer cycle than News or Chart.

Configuration

VariableDefaultDescription
METRICS_INTERVAL3600Cycle interval in seconds
METRICS_MIN_CONFIDENCE0.4Higher bar for fundamental signals

Signal Output Schema

All atomic modules write to the database with the following schema:

{
  "symbol": "AAPL",
  "module": "news",
  "direction": "bullish",
  "confidence": 0.72,
  "ts": "2024-02-01T14:30:00Z",
  "context": {
    "event_type": "earnings",
    "sentiment_score": 0.65,
    "article_count": 12
  }
}