How tryorfry/growth_invest_plan works
This is a growth-stock research and portfolio-analysis product. Users submit tickers through the CLI or Streamlit dashboard; the analyzer gathers market, fundamental, earnings, macro, and news data, applies trading-style and scoring logic, then presents or persists results. Dashboard capabilities extend into alerts, watchlists, portfolios, screening, backtesting, and reporting. Source excerpts and the index establish the main analysis and persistence links; several feature-page implementations were not sampled, so their internal connections are not asserted.
Main entry points: analyzer.py Stock analyzer · dashboard.py Web dashboard · database.py Database · app.py CLI analysis
Components 25
User workflows
- CLI analysis
app.py - Web dashboard
src/dashboard.py - Ticker analysis view
src/views/home.py
Analysis engine
- Stock analyzer
src/analyzer.py - Trading styles
src/trading_styles - Checklist scoring
src/logic/scorer.py - Pattern recognition
src/pattern_recognition.py
Market data
- Price and technical data
src/data_sources/yfinance_source.py - Fundamental data
src/data_sources/finviz_source.py - News sentiment
src/data_sources/news_source.py - Earnings data
src/data_sources/earnings_source.py - Macro data
src/data_sources/macro_source.py - Analyst and valuation sources
src/data_sources
Research features
- Advanced analytics
src/views/advanced_analytics.py - Watchlists
src/views/watchlist.py - Alert evaluation
src/alerts/alert_engine.py - Portfolio tracking
src/views/portfolio_tracker.py - Screener
src/views/screener.py - Backtesting
src/views/backtest.py - Automated reports
src/views/automated_reports.py
Persistence and delivery
- Analysis and user records
src/models.py - Database
src/database.py - Excel export
src/exporters/excel_exporter.py - Email notifications
src/alerts/notifiers.py
Other components
- Investor
Connections 29
- Investor → CLI analysis: submits tickers
- Investor → Web dashboard: opens dashboard
- Web dashboard → Ticker analysis view: routes to
src/dashboard.py - Ticker analysis view → Stock analyzer: requests analysis
src/views/home.py - CLI analysis → Stock analyzer: runs analysis
app.py - Stock analyzer → Price and technical data: fetches prices
src/analyzer.py - Stock analyzer → Fundamental data: fetches fundamentals
src/analyzer.py - Stock analyzer → News sentiment: fetches sentiment
src/analyzer.py - Stock analyzer → Earnings data: fetches earnings
src/analyzer.py - Stock analyzer → Macro data: fetches macro data
src/analyzer.py - Stock analyzer → Analyst and valuation sources: fetches other inputs
src/analyzer.py - Stock analyzer → Trading styles: selects strategy
src/analyzer.py - Stock analyzer → Checklist scoring: calculates score
src/analyzer.py - Price and technical data → Pattern recognition: detects patterns
src/data_sources/yfinance_source.py - Ticker analysis view → Database: saves analysis
src/views/home.py - CLI analysis → Database: stores results
app.py - Database → Analysis and user records: maps records
src/database.py - Web dashboard → Advanced analytics: offers analytics
src/dashboard.py - Web dashboard → Watchlists: offers watchlists
src/dashboard.py - Web dashboard → Alert evaluation: offers alerts
- Web dashboard → Portfolio tracking: offers tracking
src/dashboard.py - Web dashboard → Screener: offers screening
src/dashboard.py - Web dashboard → Backtesting: offers backtesting
src/dashboard.py - Web dashboard → Automated reports: offers reporting
src/dashboard.py - Alert evaluation → Analysis and user records: reads alert records
src/alerts/alert_engine.py - Alert evaluation → Email notifications: notifies by email
src/alerts/alert_engine.py - Portfolio tracking → Database: manages portfolios
src/views/portfolio_tracker.py - Automated reports → Database: reads records
src/views/automated_reports.py - Advanced analytics → Excel export: exports workbooks