How preethi-t0511/the_stocklyser works
StockLyser is a financial tracking and analysis web application. Users enter through the React router to view stock charts and indicators, compare equities, research companies, review sentiment, backtest strategies, and track commodities or Bitcoin. The graph also preserves authentication and the documented market-data capabilities. The sampled server exposes research, news, and backtest routes; several other integrations are documented or shown on the client, but their wiring is not fully visible in the excerpts.
Main entry points: server.cjs Express API · index.jsx Page Router · CommoditiesPage.jsx Commodity Selector · StockDashboard.jsx Stock Dashboard
Components 30
App Navigation
- Page Router
index.jsx - App Navigation
AppNavbar.jsx
Market Views
- Stock Dashboard
StockDashboard.jsx - Commodity Selector
CommoditiesPage.jsx - Gold Dashboard
GoldDashBoard.jsx - Silver Dashboard
SilverDashBoard.jsx - Bitcoin Dashboard
BitcoinDashboard.jsx
Equity Analysis
- Comparison & Heatmap
CompareAndHeatmap.jsx - Comparison Utilities
compareUtils.js - Technical Indicators
indicators.js - AI Research Assistant
AIResearchAssistant.jsx - News & Earnings
NewsAndEarnings.jsx - Strategy Backtester
Backtester.jsx - Paper Trading
PaperTrading.jsx - Trading State
paperTradingStore.js - Portfolio Risk
PortfolioRisk.jsx - Risk Calculators
riskCalculators.js - Stock Screener
Screener.jsx
Backend Services
- Market Data Service
marketService.cjs - Grounded Research
aiResearchService.cjs - News Sentiment
newsAndSentimentService.cjs - Backtest Engine
backtestService.cjs - Screening Service
screenerService.js - Express API
server.cjs
Other components
- User
- MongoDB
- Yahoo Finance
- Gold API
Connections 32
- User → Page Router: opens pages
index.jsx - Page Router → App Navigation: renders
index.jsx - Page Router → Stock Dashboard: routes to
index.jsx - Page Router → Comparison & Heatmap: routes to
index.jsx - Page Router → AI Research Assistant: routes to
index.jsx - Page Router → News & Earnings: routes to
index.jsx - Page Router → Strategy Backtester: routes to
index.jsx - Page Router → Commodity Selector: routes to
index.jsx - Commodity Selector → Gold Dashboard: renders
CommoditiesPage.jsx - Commodity Selector → Silver Dashboard: renders
CommoditiesPage.jsx - Commodity Selector → Bitcoin Dashboard: renders
CommoditiesPage.jsx - Stock Dashboard → Technical Indicators: calculates indicators
StockDashboard.jsx - Comparison & Heatmap → Comparison Utilities: uses
CompareAndHeatmap.jsx - Stock Dashboard → Express API: requests chart data
StockDashboard.jsx - AI Research Assistant → Express API: requests research
- News & Earnings → Express API: requests sentiment
- Strategy Backtester → Express API: requests backtest
- Express API → Grounded Research: generates reports
server.cjs - Express API → News Sentiment: gets sentiment
server.cjs - Express API → Backtest Engine: runs strategy
server.cjs - Market Data Service → Yahoo Finance: fetches market data
marketService.cjs - Gold Dashboard → Gold API: fetches prices
GoldDashBoard.jsx - Silver Dashboard → Gold API: fetches prices
SilverDashBoard.jsx - Bitcoin Dashboard → Gold API: fetches prices
BitcoinDashboard.jsx - Paper Trading → Trading State: reads and writes
PaperTrading.jsx - Portfolio Risk → Risk Calculators: calculates risk
PortfolioRisk.jsx - Stock Screener → Screening Service: uses screening
Screener.jsx - User → Sign Up: registers
README.md - User → Login: authenticates
README.md - Sign Up → Express API: submits account
- Login → Express API: submits credentials
- Express API → MongoDB: stores accounts