Skip to content

Repository files navigation

📈 Institutional-Grade Indian Stock Discovery & Analysis Terminal

"A high-performance stock screening and analysis platform for Indian investors, built with Next.js 14, TypeScript, and TradingView's Lightweight Charts."

🏗️ Engineering Narrative: The Migration to Modular ES6

This project represents a full architectural evolution—transitioning from a monolithic script to a highly-organized, Modular ES6 Architecture. By dismantling the legacy structure, we’ve achieved a clean Separation of Concerns across three core pillars:

  1. src/lib/api.ts (The Data Layer): Centralized Yahoo Finance fetching logic with automated CORS proxying and resilience handling.
  2. src/lib/search.ts (The Screener Logic): A dedicated client-side utility and search index for high-speed stock identification and filtering.
  3. The UI Layer (src/components/, src/app/): A component-driven frontend leveraging React 18, Radix UI, and Tailwind CSS for a professional terminal experience.

This modularity ensures that business logic remains decoupled from presentation, allowing for sub-millisecond data updates and seamless feature expansion.

🛠️ Key Technical Talking Points

📟 Mathematical Parser & Discovery Engine

We’ve built a custom terminal parser that allows users to run complex mathematical queries. Logic like ROE > 20 AND PE < 15 is parsed instantly against our local index, allowing for professional-grade stock discovery within the dashboard.

🛡️ High-Availability Data Resilience

To solve API rate-limiting and availability issues, the terminal features a proprietary Synthetic Data Fallback algorithm. If the Yahoo Finance proxy is unreachable, the system automatically reconstructs OHLC (Open, High, Low, Close) candles based on historical volatility and current price vectors, ensuring the analyzer is always functional.

🏢 Institutional UX (Screener.in Clone)

We have painstakingly recreated the high-density data environment of top-tier Indian terminals:

  • 3x3 Data Ratio Grid: Sharp, flat grid layout providing immediate visibility into ROCE, PE, Book Value, and Dividend Yield.
  • Sector-Aware Peer Comparison: Dynamic discovery system that identifies and ranks industry rivals in real-time.
  • TradingView Integration: Low-latency candlestick charts with volume histograms for technical deep-dives.

⚡ Performance Optimization

The terminal features 0ms View-Switching. By leveraging local React state management and TanStack Query caching, transitions between the global Dashboard and deep-dive Analysis views happen across the stack instantaneously, providing a premium desktop-software feel.

🧰 Tech Stack


This repository represents the high-performance modernization of the Indian-Stock-Screener project.

About

A high-fidelity financial suite designed for the modern Indian investor. This platform bridges the gap between raw market data and actionable fundamental insights, providing a "Command Center" for portfolio tracking and algorithmic screening.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages