Principle:24mlight A Share investment Agent Portfolio Decision Synthesis
| Knowledge Sources | |
|---|---|
| Domains | Finance, Portfolio_Management, Decision_Making |
| Last Updated | 2026-10-10 14:00 GMT |
Overview
A weighted multi-signal decision synthesis approach that aggregates outputs from technical, fundamental, sentiment, valuation, risk, and macro analysis agents into a final portfolio trading action (buy, sell, hold) with quantity and confidence.
Description
Portfolio decision synthesis is the terminal node of the investment analysis pipeline. It collects messages from all upstream agents, deduplicates by agent name (keeping the latest), and feeds them into an LLM with a system prompt defining signal weights and risk constraints. The LLM generates a JSON decision containing:
- action: buy, sell, or hold
- quantity: number of shares to trade
- confidence: decision confidence level (0 to 1)
- agent_signals: summary of each agent's signal and confidence
- reasoning: detailed investment rationale
The system prompt encodes signal weights: valuation (30%), fundamentals (25%), technicals (20%), macro (15%), sentiment (10%), plus hard risk constraints from the risk management agent.
Usage
Use this principle when:
- Synthesizing multiple independent analysis signals into a single actionable trading decision
- Applying weighted importance to different analysis dimensions (e.g., valuation > sentiment)
- Generating LLM-driven investment decisions with structured JSON output and fallback handling
Theoretical Basis
The decision synthesis model uses weighted signal aggregation:
Where values are signal weights and represents hard risk constraints.
Signal weights (from system prompt):
- Valuation: 30%
- Fundamentals: 25%
- Technicals: 20%
- Macro: 15%
- Sentiment: 10%
Risk constraints override: If risk_score ≥ 9, force hold regardless of other signals.
Fallback behavior: If the LLM returns None or unparseable JSON, default to a conservative hold action with 0.7 confidence.