Backend implemented #4
Open
Sumit-1325 wants to merge 28 commits into
Open
Conversation
…rough brighter, especially in the center of the hero.
- Add KMeans clustering for market activity patterns (4 clusters) - Add volatility skew/smile pattern detection with quadratic fitting - Add IV spike/shift detection using z-score analysis - Add AI-driven insight generation combining anomaly, volume, OI, volatility - Add /api/ai-insights endpoint for real-time AI insights - Add /api/volatility-surface endpoint for 3D IV visualization - Add /api/volume-surface endpoint for volume distribution - Add /api/pattern-analysis endpoint for comprehensive pattern analysis"
- Fix Vite proxy target from port 5000 to 8000 - Map all frontend API calls to actual backend endpoints - Add new API functions: anomalies, greeks, max-pain, volatility-surface - Add pattern-analysis, volume-surface, metrics, spot-price endpoints - Increase API timeout to 30s for data-heavy endpoints"
- Add AnomalyScatterChart for ML anomaly detection visualization - Add GreeksChart for options Greeks (Delta) across strikes - Add PCRTimeseriesChart for Put-Call Ratio over time with spot overlay - Add VolatilitySurfaceChart for 3D IV visualization across strike/expiry - Add VolumeProfileChart for stacked Call/Put volume by strike - Enhance VolatilitySmileChart to show both Call IV and Put IV curves"
…s, pattern badges - 8 metric cards: Spot, ATM Strike, PCR, Sentiment, Total OI, Volume, Anomalies, Volume Spikes - OI Distribution + Volume Profile side-by-side - Volatility Analysis: Smile + Surface charts with skew/smile detection badges - Pattern Analysis summary: skew direction, smile curvature, clusters, IV spikes - Time Series: PCR Timeseries with spot overlay + Cumulative OI - Activity Heatmap section - AI Pattern Detection: Anomaly Scatter (Isolation Forest) + Greeks Delta chart - AI Insights panel with real-time insight count
…rmat - Maps datetime to time labels, total_oi_CE/PE to cumulative_oi_ce/pe - Backwards compatible with existing data format
- Removed BANKNIFTY, FINNIFTY, SENSEX (no training data exists for these) - Sidebar now fetches available expiries from /api/expiries endpoint - Removed hardcoded fake dates (2026-03-10, 2026-03-17)
- Removed stacking (bars were invisible due to small values) - Added empty state message when no volume data - Filters out zero-volume strikes
…ptions - Shows loading spinner while data fetches from backend - Market Pulse section labeled 'NIFTY' explicitly - All chart subtitles rewritten for non-expert readability - Pattern analysis cards have helper descriptions (skew, smile, clusters) - CumulativeOIChart gets legend for Call/Put OI
Removed author section from README.
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.
Execute data preprocessing , training , evaluation