How rahulnaik99/indian_tradingagents works
TradingAgents India is a local-first research workbench for Indian equities. Users initiate research through the dashboard, REST API, or CLI; the central workflow assembles point-in-time evidence, runs analyst and bull/bear debate stages, then produces a trader proposal, risk review, and portfolio verdict for reports or paper trading. A separate deterministic research pipeline runs Fundamental → Technical → Trader → Risk → Hedge-Fund Manager and fails closed to review. The README documents these workflows and capabilities; unsampled subsystems are represented at their existing directory paths, and edges are limited to documented relationships.
Main entry points: app.py Dashboard and API · evidence_package.py Point-in-time evidence · trading_graph.py Full analysis graph · main.py Interactive CLI
Components 23
User entry
- Dashboard and API
tradingagents/web/app.py - Interactive CLI
cli/main.py
Evidence and analysis
- Point-in-time evidence
tradingagents/india/evidence_package.py - Market data vendors
tradingagents/dataflows/vendors - India data providers
tradingagents/india/providers - Deterministic technicals
tradingagents/india/technical.py
Decision workflows
- Full analysis graph
tradingagents/graph/trading_graph.py - Research analysts
tradingagents/agents/analysts - Bull-bear research
tradingagents/agents/researchers - Research manager
tradingagents/agents/managers/research_manager.py - Trader and risk debate
tradingagents/agents - Portfolio verdict
tradingagents/agents/managers/portfolio_manager.py - Research pipeline
tradingagents/india/langgraph_pipeline/graph.py - Pipeline agents
tradingagents/india/langgraph_pipeline/agents
Results and state
- Local SQLite
tradingagents/india/storage.py - Paper trading
tradingagents/india/paper_trading.py - Reports and audit
tradingagents/reporting.py - Research memory
tradingagents/memory
Runtime services
- Model providers
tradingagents/llm_clients - Backtesting
tradingagents/backtest.py - Universe and scanner
tradingagents/india/universe.py - Calendar and events
tradingagents/india/events.py
Other components
- Research user
Connections 24
- Research user → Dashboard and API: starts research
- Research user → Interactive CLI: runs analysis
- Dashboard and API → Point-in-time evidence: requests evidence
tradingagents/web/app.py - Dashboard and API → Deterministic technicals: requests technicals
tradingagents/web/app.py - Dashboard and API → Research pipeline: starts research
- Dashboard and API → Universe and scanner: scans universe
tradingagents/web/app.py - Point-in-time evidence → Market data vendors: assembles sources
- Point-in-time evidence → India data providers: assembles sources
- Point-in-time evidence → Full analysis graph: feeds evidence
- Full analysis graph → Research analysts: runs analysts
- Research analysts → Bull-bear research: inform debate
- Bull-bear research → Research manager: feeds debate
- Research manager → Trader and risk debate: forms proposal
tradingagents/agents/managers/research_manager.py - Trader and risk debate → Portfolio verdict: feeds risk review
tradingagents/agents/managers/portfolio_manager.py - Portfolio verdict → Reports and audit: produces verdict
- Portfolio verdict → Paper trading: supports paper orders
- Dashboard and API → Local SQLite: persists research data
tradingagents/web/app.py - Paper trading → Local SQLite: stores orders
- Research pipeline → Pipeline agents: runs stages
- Research pipeline → Local SQLite: stores results
- Full analysis graph → Model providers: uses models
tradingagents/graph/trading_graph.py - Interactive CLI → Full analysis graph: runs analysis
cli/main.py - Interactive CLI → Backtesting: runs sweeps
cli/main.py - Dashboard and API → Calendar and events: serves events
tradingagents/web/app.py