How meeketank/jinni-indian-stock-market-ai works
JINNI is an Indian-equities risk and analytics terminal, delivered as a static web app backed by a Python API. Users select a stock or scan a universe, request market or stock analysis, and view results; portfolio risk, optimization, sentiment/events, and model outlook are additional workflows. README and the source index establish major capabilities and some API-to-domain dependencies. Several modules were not excerpted, so uncertain runtime links are omitted rather than inferred.
Main entry points: core.py API core · routes_market.py Market routes · routes_stock.py Stock analysis routes · main.js App shell
Components 25
Web experience
- App shell
public/js/main.js - UI components
public/js/ui.js - Return Finder
public/js/pages/finder.js
API workflows
- API core
server/core.py - Market routes
server/routes_market.py - Stock analysis routes
server/routes_stock.py - Finder routes
server/routes_finder.py - Outlook routes
server/routes_outlook.py - Portfolio routes
server/routes_port.py - Chart rendering
server/figs.py
Market analytics
- Price data
jinni/data.py - Stock universe
jinni/universe.py - Ratings and signals
jinni/signals.py - Technical indicators
jinni/ta.py - Pattern analysis
jinni/patterns.py - Return forecasting
jinni/forecast.py - Events and calendar
jinni/events.py - News sentiment
jinni/newsfeeds.py - Seasonality studies
jinni/seasonality.py - Portfolio risk
jinni/risk.py - Portfolio optimizer
jinni/optimizer.py
Data and state
- Browser state
public/js/store.js
Other components
- Investor
- Yahoo Finance
- Exchange listings
Connections 26
- Investor → App shell: opens
- App shell → UI components: renders with
public/js/main.js - Return Finder → UI components: renders with
public/js/pages/finder.js - App shell → Browser state: uses
public/js/main.js - Return Finder → Browser state: reads and updates
public/js/pages/finder.js - App shell → API core: requests analysis
- API core → Market routes: routes requests
server/routes_market.py - API core → Stock analysis routes: routes requests
server/routes_stock.py - API core → Finder routes: routes requests
- API core → Outlook routes: routes requests
server/routes_outlook.py - API core → Portfolio routes: routes requests
server/routes_port.py - Market routes → Price data: loads prices
server/routes_market.py - Market routes → Stock universe: uses listings
server/routes_market.py - Market routes → Events and calendar: uses event catalog
server/routes_market.py - Market routes → Seasonality studies: uses calendar studies
server/routes_market.py - Stock analysis routes → Ratings and signals: scores stocks
server/routes_stock.py - Stock analysis routes → Technical indicators: computes indicators
server/routes_stock.py - Stock analysis routes → Pattern analysis: scans patterns
server/routes_stock.py - Stock analysis routes → Chart rendering: builds charts
server/routes_stock.py - Finder routes → Return forecasting: uses forecast engine
- Outlook routes → News sentiment: fetches news
server/routes_outlook.py - Outlook routes → Price data: loads price history
server/routes_outlook.py - Portfolio routes → Portfolio risk: calculates risk
server/routes_port.py - Portfolio routes → Portfolio optimizer: optimizes allocations
server/routes_port.py - Price data → Yahoo Finance: downloads prices
- Stock universe → Exchange listings: loads listings