How heysanjeevv/market-lab works
Market Lab is a locally run NSE dashboard. A browser user views the dashboard served by the app, which combines live Smart Money and Sector Map data with stock charts, research notes, and the Swing Lab. The two market-data engines provide live market views; the Lab separately fetches and analyzes historical bars for backtests and swing signals. Edges are limited to calls or references supported by the excerpts, SOURCE INDEX, or README; several documented capabilities have directory-level nodes because their implementation was not sampled.
Main entry points: research.py Company research · app.py Dashboard app · bars.py Historical bars · live.py Live Lab panel
Components 28
Dashboard
- Dashboard app
app.py - Dashboard views
web/index.html
Smart Money
- Live market feed
sm/feed.py - Market helpers
sm/market.py - Smart-money patterns
sm/smc.py - Market structure
sm/structure.py
Sector Map
- Sector live data
sx/live.py - Stock universe
sx/universe.py - Sector headlines
sx/news.py - Sector chart patterns
sx/smc.py - Sector structure
sx/structure.py - Sector market helpers
sx/market.py
Strategy Lab
- Historical bars
lab/bars.py - Indicators and features
lab/features.py - Intraday strategies
lab/strategies.py - Backtest engine
lab/engine.py - Results analysis
lab/analyze.py - Lab reporting
lab/report.py - Live Lab panel
lab/live.py - Swing backtest
lab/swing.py - Live swing signals
lab/swing_live.py
Research
- Company research
lab/research.py - Industry context
lab/industries.py
Other components
- Browser user
- NSE public data
- Yahoo Finance
- Google News RSS
- Wikipedia
Connections 47
- Browser user → Dashboard views: views
README.md - Dashboard views → Dashboard app: requests data
README.md - Dashboard app → Live market feed: uses feed
app.py - Dashboard app → Sector live data: uses sector data
app.py - Dashboard app → Sector headlines: uses headlines
app.py - Dashboard app → Sector chart patterns: uses patterns
app.py - Dashboard app → Live Lab panel: uses Lab data
app.py - Dashboard app → Live swing signals: uses swing data
app.py - Dashboard app → Company research: uses research
app.py - Live market feed → Market helpers: uses helpers
sm/feed.py - Live market feed → Smart-money patterns: uses patterns
sm/feed.py - Smart-money patterns → Market structure: uses structure
sm/smc.py - Smart-money patterns → Market helpers: uses helpers
sm/smc.py - Sector live data → Sector market helpers: uses helpers
sx/live.py - Sector live data → Stock universe: reads universe
sx/live.py - Sector headlines → Sector market helpers: uses helpers
sx/news.py - Sector chart patterns → Sector structure: uses structure
sx/smc.py - Sector chart patterns → Sector market helpers: uses helpers
sx/smc.py - Stock universe → Sector market helpers: fetches data
sx/universe.py - Historical bars → Market helpers: uses HTTP helpers
lab/bars.py - Historical bars → Yahoo Finance: downloads prices
lab/bars.py - Indicators and features → Historical bars: builds from bars
- Backtest engine → Historical bars: loads bars
lab/engine.py - Backtest engine → Indicators and features: builds features
lab/engine.py - Backtest engine → Intraday strategies: runs signals
lab/engine.py - Lab reporting → Backtest engine: uses engine
lab/report.py - Lab reporting → Results analysis: uses filters
lab/report.py - Lab reporting → Intraday strategies: summarizes strategies
lab/report.py - Live Lab panel → Historical bars: loads bars
lab/live.py - Live Lab panel → Indicators and features: uses features
lab/live.py - Live Lab panel → Backtest engine: uses engine
lab/live.py - Live Lab panel → Lab reporting: uses report
lab/live.py - Swing backtest → Historical bars: loads bars
lab/swing.py - Swing backtest → Indicators and features: uses features
lab/swing.py - Live swing signals → Historical bars: loads bars
lab/swing_live.py - Live swing signals → Swing backtest: uses swing rules
lab/swing_live.py - Company research → Market helpers: fetches market data
lab/research.py - Company research → Stock universe: uses classification
lab/research.py - Company research → Historical bars: uses price history
lab/research.py - Company research → Industry context: uses industry context
lab/research.py - Company research → Swing backtest: uses swing results
lab/research.py - Company research → NSE public data: reads filings
README.md - Company research → Wikipedia: reads summaries
README.md - Company research → Yahoo Finance: fetches market series
lab/research.py - Sector headlines → Google News RSS: fetches headlines
README.md - Stock universe → NSE public data: fetches classification
sx/universe.py - Live market feed → NSE public data: fetches live data