How goutamboppana/iiit_sri_city-boppana_goutam-hackathon works
This repository combines an NLP financial-risk signal generator with a Streamlit dashboard for tactical index rebalancing and hypothetical portfolio stress testing. The principal workflow ingests news and tweets, identifies relevant tickers, classifies sentiment and events, scores impact, validates and saves signals, then lets dashboard users explore those signals and run portfolio analyses. The README documents dashboard behavior and major capabilities; app.py and src/stress.py were not read in full, so their internal call paths are not inferred.
Main entry points: run_engine.py Engine Runner · ingest.py Ingest and Filter · app.py Streamlit Dashboard · engine.py Sentiment and Events
Components 14
Signal Ingestion
- Ingest and Filter
src/ingest.py - Ticker Recognition
src/ingest.py
Risk Analysis
- Engine Runner
src/run_engine.py - Sentiment and Events
src/engine.py - Impact Scoring
src/impact.py - Signal Validation
src/schema.py
Portfolio Analytics
- Index Rebalancer
src/rebalance.py - Stress Scenarios
src/stress.py - Portfolio Results
src/rebalance.py - Stress Results
src/stress.py
Dashboard and Data
- Signal Files
data - Streamlit Dashboard
app.py
Other components
- NewsAPI / Headlines
- Tweet Sources
Connections 13
- NewsAPI / Headlines → Ingest and Filter: provides news
README.md - Tweet Sources → Ingest and Filter: provides tweets
README.md - Ingest and Filter → Ticker Recognition: detects tickers
src/ingest.py - Engine Runner → Ingest and Filter: loads sources
src/run_engine.py - Engine Runner → Sentiment and Events: analyzes text
src/run_engine.py - Sentiment and Events → Impact Scoring: scores impact
src/engine.py - Engine Runner → Signal Validation: validates signals
src/run_engine.py - Engine Runner → Signal Files: writes signals
README.md - Streamlit Dashboard → Signal Files: reads signals
README.md - Streamlit Dashboard → Index Rebalancer: runs rebalancing
README.md - Streamlit Dashboard → Stress Scenarios: runs stress tests
README.md - Index Rebalancer → Portfolio Results: returns weights
src/rebalance.py - Stress Scenarios → Stress Results: returns estimates
src/stress.py