How krish04794/market_lens works
MarketLens is a multi-asset market analysis dashboard backed by an Express API. Users explore market data and watchlists, screen assets, and review news, IPOs, charts, and portfolio-related tools. The backend also exposes AI query and news/IPO services. The excerpts verify API route registration, one watchlist request, and several frontend component references; they do not establish most frontend-to-API wiring or the implementation of every README capability, so those links are omitted.
Main entry points: NewsModule.tsx News module · server.js Express API · ScreenerResults.tsx Screener results · WatchlistModule.tsx Watchlist
Components 34
Dashboard experience
- Dashboard page
pro-trading-platform/src/app/page.tsx - App layout
pro-trading-platform/src/components/layout/AppLayout.tsx - Dashboard state
pro-trading-platform/src/store/useDashboardStore.ts - Price alerts
pro-trading-platform/src/components/modules/alerts/AlertsModule.tsx - Portfolio
pro-trading-platform/src/components/modules/portfolio/PortfolioModule.tsx - Settings
pro-trading-platform/src/components/modules/settings/SettingsModule.tsx
Market exploration
- Watchlist
pro-trading-platform/src/components/modules/WatchlistModule.tsx - Trading chart
pro-trading-platform/src/components/chart/TradingChart.tsx - Expectation chart
pro-trading-platform/src/components/chart/ExpectationVsRealityChart.tsx - Symbol mapping
pro-trading-platform/src/utils/symbolMapper.ts
Screening and insight
- Screener
pro-trading-platform/src/components/modules/screener/ScreenerModule.tsx - Screener filters
pro-trading-platform/src/components/modules/screener/ScreenerFilters.tsx - AI screener
pro-trading-platform/src/components/modules/screener/AIScreenerPanel.tsx - Screener results
pro-trading-platform/src/components/modules/screener/ScreenerResults.tsx - AI queries
backend/src/routes/ai.js
Market coverage
- News module
pro-trading-platform/src/components/modules/news/NewsModule.tsx - News feed
pro-trading-platform/src/components/modules/news/NewsFeed.tsx - News filters
pro-trading-platform/src/components/modules/news/NewsFilters.tsx - News header
pro-trading-platform/src/components/modules/news/NewsHeader.tsx - Article detail
pro-trading-platform/src/components/modules/news/ArticleDetailModal.tsx - Market pulse
pro-trading-platform/src/components/modules/news/MarketPulsePanel.tsx - Top market news
pro-trading-platform/src/components/modules/news/TopMarketNews.tsx - Trending sentiment
pro-trading-platform/src/components/modules/news/TrendingSentimentPanel.tsx - News state
pro-trading-platform/src/store/useNewsStore.ts - IPO explorer
pro-trading-platform/src/components/modules/ipo/IPOModule.tsx - Live IPOs
pro-trading-platform/src/components/modules/ipo/IPOLiveModule.tsx - IPO data
pro-trading-platform/src/lib/ipoData.ts - IPO live service
pro-trading-platform/src/lib/ipoLiveService.ts - Economic calendar
pro-trading-platform/src/components/modules/economic-calendar/EconomicCalendarModule.tsx
Backend API
- Express API
backend/src/server.js - Market endpoints
backend/src/routes/market.js - Screener endpoints
backend/src/routes/screener.js - News endpoints
backend/src/routes/news.js
Other components
- Market user
Connections 17
- Market user → Dashboard page: opens
- Watchlist → Market endpoints: requests assets
pro-trading-platform/src/components/modules/WatchlistModule.tsx - Screener → Watchlist: references
pro-trading-platform/src/components/modules/screener/ScreenerModule.tsx - Screener results → Dashboard state: reads
pro-trading-platform/src/components/modules/screener/ScreenerResults.tsx - Screener results → Symbol mapping: uses
pro-trading-platform/src/components/modules/screener/ScreenerResults.tsx - News module → News header: renders
pro-trading-platform/src/components/modules/news/NewsModule.tsx - News module → News filters: renders
pro-trading-platform/src/components/modules/news/NewsModule.tsx - News module → Top market news: renders
pro-trading-platform/src/components/modules/news/NewsModule.tsx - News module → News feed: renders
pro-trading-platform/src/components/modules/news/NewsModule.tsx - News module → Market pulse: renders
pro-trading-platform/src/components/modules/news/NewsModule.tsx - News module → Trending sentiment: renders
pro-trading-platform/src/components/modules/news/NewsModule.tsx - News module → Article detail: renders
pro-trading-platform/src/components/modules/news/NewsModule.tsx - Express API → Market endpoints: mounts
backend/src/server.js - Express API → Screener endpoints: mounts
backend/src/server.js - Express API → News endpoints: mounts
backend/src/server.js - Express API → AI queries: mounts
backend/src/server.js - Express API → IPO explorer: mounts IPO route