Add NSE Dashboard: live Indian market data + Kronos AI prediction + ORB levels#286
Open
tejasbsatish wants to merge 1 commit intoshiyu-coder:masterfrom
Open
Add NSE Dashboard: live Indian market data + Kronos AI prediction + ORB levels#286tejasbsatish wants to merge 1 commit intoshiyu-coder:masterfrom
tejasbsatish wants to merge 1 commit intoshiyu-coder:masterfrom
Conversation
Adds a professional dark-themed trading terminal web UI for Indian markets (NSE) built on top of the Kronos financial foundation model. Features: - Live OHLCV data for NIFTY 50, Bank NIFTY, and top NSE stocks via yfinance - Opening Range Breakout (ORB) calculation and overlay (configurable window) - Async Kronos AI prediction via background threading + job-id polling so the UI never blocks during CPU-bound inference (can take 1-5 min) - Multi-interval support: 1m, 5m, 15m, 30m, 60m, 1d - Zoom/pan controls, category x-axis (skips market gaps), dark terminal theme - NaN sanitization: pred_df.fillna(0) + _safe() helper before JSON serialization, preventing browser JSON.parse failure when Kronos outputs NaN in denormalization step New files: - webui/nse_dashboard.py Flask app (port 7072), routes, chart builder - webui/data_fetcher.py yfinance fetcher + ORB calculator - webui/templates/nse_dashboard.html Professional trading terminal UI - webui/requirements_nse.txt flask, flask-cors, plotly, yfinance, pandas - .claude/launch.json Claude Code launch config Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A professional dark-themed trading terminal web UI for Indian markets (NSE) built on top of the Kronos financial foundation model.
Features
New files
Usage
pip install -r webui/requirements_nse.txt python webui/nse_dashboard.py # open http://localhost:7072