How rivaldotimoty/trading-agents-lite works
Trading Agents Lite is a Claude Agent Skill for one-ticker-at-a-time investment research; Python scripts provide exact data, indicator, risk, and decision-memory calculations. Its documented workflow moves from date-bounded data through independent analysts, a bull/bear research debate, trade proposal, risk review, and portfolio decision to reports and a reusable decision log. The role stages and most handoffs are documented in the README, not shown in sampled runtime code; the graph cites that documentation and avoids claiming unsampled implementation details.
Main entry points: agents.md Portfolio decision · fetch_data.py Data snapshot · SKILL.md Analyst team · indicators.py Technical indicators
Components 19
Research workflow
- Analyst team
trading-agents/SKILL.md - Bull-bear research
trading-agents/references/agents.md - Trade proposal
trading-agents/references/agents.md - Risk committee
trading-agents/references/agents.md - Portfolio decision
trading-agents/references/agents.md
Market data
- Data snapshot
trading-agents/scripts/fetch_data.py - Data-source guidance
trading-agents/references/data-sources.md
Exact calculations
- Technical indicators
trading-agents/scripts/indicators.py - Market rules
trading-agents/scripts/common.py - Risk calculations
trading-agents/scripts/risk_tools.py
Decisions and outputs
- Decision memory
trading-agents/scripts/decision_log.py - Full report
trading-agents/SKILL.md - Chat summary
trading-agents/SKILL.md - Output guidance
trading-agents/references/output-format.md
Other components
- Analyst user
- Claude skill runtime
- Yahoo Finance
- Uploaded price CSV
- Web search
Connections 21
- Analyst user → Claude skill runtime: requests analysis
README.md - Claude skill runtime → Data snapshot: runs fetch
- Yahoo Finance → Data snapshot: provides market data
trading-agents/scripts/fetch_data.py - Uploaded price CSV → Technical indicators: supplies prices
trading-agents/scripts/indicators.py - Web search → Analyst team: supplies findings
README.md - Data snapshot → Technical indicators: loads price data
trading-agents/scripts/fetch_data.py - Market rules → Technical indicators: provides market metadata
trading-agents/scripts/indicators.py - Data snapshot → Analyst team: provides snapshot
README.md - Technical indicators → Analyst team: provides computed metrics
README.md - Analyst team → Bull-bear research: informs debate
README.md - Bull-bear research → Trade proposal: provides investment plan
README.md - Trade proposal → Risk calculations: calculates trade levels
README.md - Market rules → Risk calculations: provides tick and lot rules
trading-agents/scripts/risk_tools.py - Risk calculations → Risk committee: provides proposal numbers
README.md - Risk committee → Portfolio decision: proposes adjustments
README.md - Decision memory → Portfolio decision: provides prior lessons
README.md - Portfolio decision → Decision memory: records decision
README.md - Portfolio decision → Full report: contributes final rating
README.md - Portfolio decision → Chat summary: provides final rating
README.md - Data-source guidance → Claude skill runtime: guides fallback data
README.md - Output guidance → Claude skill runtime: guides report format
README.md