MarketIntell

Correlation Engine

How specialist outputs are correlated into a unified signal

Correlation Engine

The Correlation Engine is the final stage of the MarketIntell reasoning pipeline. It takes independent analyses from multiple specialists and produces a unified assessment with alignment scoring, signal comparison, and position sizing guidance.

How Correlation Works

After each activated specialist produces its analysis, the Correlation Engine:

  1. Extracts directional signals from each specialist (bullish, bearish, neutral)
  2. Identifies confirming signals — data points where specialists independently agree
  3. Identifies contradicting signals — data points where specialists disagree
  4. Calculates an alignment score based on signal agreement and confidence
  5. Generates a sizing multiplier reflecting overall conviction
  6. Writes a summary explaining the correlation in plain language

Alignment Scoring

The alignment score ranges from -10 (maximum bearish consensus) to +10 (maximum bullish consensus).

Score RangeAlignmentInterpretation
+7 to +10Strong BullishAll specialists agree on bullish outlook with high confidence
+3 to +6Moderately BullishMost specialists lean bullish, minor disagreements
-2 to +2Neutral / MixedSpecialists are split or uncertain
-6 to -3Moderately BearishMost specialists lean bearish, minor disagreements
-10 to -7Strong BearishAll specialists agree on bearish outlook with high confidence

Scoring Methodology

The score is calculated by:

  1. Weighting specialist opinions — Each specialist's direction is weighted by its confidence level
  2. Adjusting for signal quality — Signals backed by multiple data points carry more weight
  3. Penalizing contradictions — Strong contradicting signals pull the score toward neutral
  4. Time-weighting — More recent data points are weighted higher

Example

If three specialists are activated:

  • Technical: Bullish (confidence: 85%) → +8.5 weighted contribution
  • Fundamental: Bullish (confidence: 70%) → +7.0 weighted contribution
  • Sentiment: Bearish (confidence: 60%) → -6.0 weighted contribution

Weighted average: (8.5 + 7.0 - 6.0) / 3 ≈ 3.2 → Moderately Bullish

Confirming vs Contradicting Signals

Confirming Signals

Confirming signals are data points where multiple specialists independently reach the same conclusion:

"confirming": [
  "Price above 200-day MA (Technical) + Rising TVL (Fundamental)",
  "Increasing volume (Technical) + Growing active addresses (Fundamental)",
  "Positive funding rates (Technical) + Bullish social sentiment (Sentiment)"
]

More confirming signals → higher conviction → higher sizing multiplier.

Contradicting Signals

Contradicting signals are data points where specialists disagree:

"contradicting": [
  "Bullish price action (Technical) vs Declining protocol revenue (Fundamental)",
  "Strong momentum (Technical) vs Extreme fear/greed reading (Sentiment)"
]

Contradicting signals don't invalidate the analysis — they highlight risk factors. A trade setup with contradicting signals warrants smaller position sizes or tighter stops.

Sizing Multiplier

The sizing multiplier is a practical output for position sizing:

MultiplierMeaningWhen it occurs
0.5Half sizeStrong contradictions, low confidence
0.8Reduced sizeSome contradictions, moderate confidence
1.0Standard sizeBalanced signals, normal confidence
1.2Slightly increasedGood alignment, few contradictions
1.5Increased sizeStrong alignment, high confidence
2.0Maximum sizeExceptional alignment across all specialists

How to Use It

The sizing multiplier is a suggestion, not financial advice. Use it as a relative scaling factor:

Position size = Base position size × sizing_multiplier

For example, if your standard BTC position is $10,000:

  • Multiplier 0.5 → $5,000 position
  • Multiplier 1.0 → $10,000 position
  • Multiplier 1.5 → $15,000 position

The sizing multiplier reflects cross-specialist conviction. It does not account for your personal risk tolerance, portfolio concentration, or leverage.

Correlation in API Responses

The correlation object appears in every chat response:

{
  "correlation": {
    "alignment": "bullish",
    "score": 6.5,
    "confirming": [
      "Price above key moving averages",
      "Rising TVL and protocol revenue",
      "Positive risk-adjusted momentum"
    ],
    "contradicting": [
      "Declining gas usage trend"
    ],
    "sizing_multiplier": 1.2,
    "summary": "Moderate bullish alignment across technical and fundamental signals with minor on-chain usage concern."
  }
}

Streaming

When using streaming, the correlation data is embedded in the response content generated by the brain agent. The done SSE event itself contains only session metadata (session_id, specialists_used, latency_ms, timestamp) — it does not include a separate correlation object. To access structured correlation data, use the non-streaming response format which returns it as a top-level field.

Edge Cases

Single Specialist

When only one specialist is activated (e.g., price_analysis uses only Technical), the correlation engine still runs but with reduced context:

  • Score is based solely on the single specialist's confidence
  • Confirming/contradicting lists may be empty
  • Sizing multiplier tends toward 1.0

All Neutral

When all specialists return neutral signals:

  • Score hovers around 0
  • Alignment is neutral
  • Sizing multiplier is 0.8 (reduced size due to lack of conviction)
  • Summary explains why there's no clear direction

Maximum Disagreement

When specialists strongly disagree (e.g., Technical strongly bullish, Sentiment strongly bearish):

  • Alignment is mixed
  • Score is near 0 despite strong individual opinions
  • Both confirming and contradicting lists are populated
  • Sizing multiplier is 0.5–0.8
  • Summary explicitly calls out the disagreement

On this page