How sarbajitchatterjee/hackathon_team-6_jarvis works
Jarvis is an AI-assisted investment-analysis system. Its documented workflow starts with portfolio ingestion and ticker-level requests, fetches financial and patent data in parallel, runs backtesting and Fama–French analysis, then produces portfolio decision support. The map also shows the Python services and database-driven orchestration visible in the supplied excerpts. The n8n workflow files and SQL trigger implementations are present in the tree but were not sampled, so their internal behavior is represented only where the README documents it.
Main entry points: database PostgreSQL State · app.py Patent Data Service · n8n_workflows Financial Ingestion · FFM_backtesting.py FFM and Backtesting API
Components 17
Portfolio Ingestion
- Portfolio Ingestion
n8n_workflows - Ticker Request Fan-out
python_dispatcher/dispatcher.py
Data Collection
- Financial Data Service
python_service/app.py - Market Data Sources
- Patent Data Service
python_tickerConverter/app.py - Yahoo Finance
- PatentsView
- Financial Ingestion
n8n_workflows - Patent Ingestion
n8n_workflows
Quantitative Analysis
- Analysis Workflows
n8n_workflows - FFM and Backtesting API
python_service/FFM_backtesting.py - Fama–French Factors
Orchestration and State
- PostgreSQL State
database - Completion Triggers
database
Decision Support
- Portfolio AI Synthesis
n8n_workflows - Investment Insights and Reports
n8n_workflows
Other components
- Portfolio Manager
Connections 18
- Portfolio Manager → Portfolio Ingestion: submits portfolio
README.md - Portfolio Ingestion → Ticker Request Fan-out: fans out requests
README.md - Ticker Request Fan-out → PostgreSQL State: creates requests
python_dispatcher/dispatcher.py - PostgreSQL State → Financial Ingestion: dispatches ingestion
README.md - PostgreSQL State → Patent Ingestion: dispatches ingestion
README.md - Financial Ingestion → Financial Data Service: requests financial data
README.md - Financial Data Service → Market Data Sources: fetches market data
python_service/app.py - Patent Ingestion → Patent Data Service: requests patent data
README.md - Patent Data Service → Yahoo Finance: resolves company name
python_tickerConverter/app.py - Patent Data Service → PatentsView: queries patent records
python_tickerConverter/app.py - Financial Ingestion → FFM and Backtesting API: uploads price data
README.md - Analysis Workflows → FFM and Backtesting API: triggers analyses
README.md - FFM and Backtesting API → Fama–French Factors: retrieves factors
- Analysis Workflows → Portfolio AI Synthesis: synthesizes results
README.md - Portfolio AI Synthesis → Investment Insights and Reports: generates insights
README.md - PostgreSQL State → Completion Triggers: tracks completion
README.md - Completion Triggers → Analysis Workflows: advances workflow
README.md - Investment Insights and Reports → Portfolio Manager: supports decisions
README.md