Spaces:
Running
Running
Commit History
14 days ago
-
fix(ui): sync Today's Briefing banner on import and update BUY score scoring
Ramkumar Shanmugame06f207
15 days ago
-
feat: add moat/commodity gates, conglomerate cap & responsive fluid layout
Ramkumar Shanmugam- Add Regulatory Moat Threat Filter (IEX) & Cyclical Commodity Trough Filter (TATACHEM) - Enforce 22% Conglomerate Aggregate Cap (Tata Group) - Separate Healthcare from Pharma sector mapping to allow clean compounder surfacing - Remove 1440px container cap and implement fluid responsive multi-device layout - Update test_spec_regression.py for holdings (16).csv assertionsa19879f -
feat: enforce hard allocation gates, sector diversification caps, and demerger anomaly detection
Ramkumar Shanmugam- Add 7% single-stock concentration cap and 18% sector allocation limit in strategies.py - Implement demerger cost anomaly detector for corporate spin-offs (e.g. ITC/ITCHOTELS, TMPV/TMCV) - Map Indian equity sectors in price_fetcher.py and enrich candidate fundamentals - Update Gemini prompt engine in api_caller.py to enforce capital allocation limits - Add automated regression test suite in test_spec_regression.py96c7334
17 days ago
-
Upgrade prompt engine, pre-fetch fundamentals, and add system architecture documentation
Ramkumar Shanmugamb319678
-
perf: optimize briefing generation, batch db inserts, and cap history to 100 days
Ramkumar Shanmugam- Streamline Gemini Search Grounding into a targeted candidate funnel (max 3-5 searches) - Eliminate redundant Yahoo Finance downloads in generate/fetch-news endpoints - Batch PostgreSQL operations with execute_values (portfolio holdings, snapshots, trades, signals) - Prevent unawaited competing holdings fetch in frontend during generation - Cap History summaries, dates, and Performance benchmarks to the recent 100 days20822cb -
feat: optimize briefing performance with on-demand news, batch queries, and price caching
Ramkumar Shanmugam- Decouple stock catalyst news from initial briefing generation for faster load times - Add on-demand catalyst news fetching endpoint and UI action - Migrate Gemini API caller to google-genai SDK with search grounding - Implement batch FinBERT sentiment scoring - Add in-memory TTL caching for stock prices and Nifty 50 - Batch database queries for historical briefings and AI suggestions11e84fc
-
feat: handle non-trading days, track csv upload time, and refine news headlines
Ramkumar Shanmugam- Implement trading day checks on the backend for today's briefing, defaulting to the most recent historical briefing on non-trading days (weekends & holidays). - Display a fallback warning on the frontend when historical briefing data is shown. - Add an 'uploaded_at' field (IST timezone) to capture the portfolio CSV upload timestamp, displaying it in the frontend. - Refine the AI briefing caller instructions to fetch detailed 60–80 word news headlines with direct portfolio impact context. - Add explanation popovers for portfolio metrics on the dashboard.2cd125d
-
feat: add AI-powered Stock Picks tab with Gemini search grounding
Ramkumar Shanmugam- New POST /api/briefings/recommendations endpoint in briefings.py - Resolves current portfolio symbols from DB (owner) or request body (guest) - Calls Gemini with Google Search grounding to find top 5 NSE/BSE stocks - Filters out stocks already in user active portfolio - Added StockRecommendationItem and RecommendationsResponse Pydantic models in schemas.py - Added build_recommendations_prompt() and run_recommendations_analysis() in api_caller.py - Prompt enforces valuation strategy: P/E vs industry, ROE>15%, ROCE>15%, D/E<0.5, RSI<60 - Frontend App.tsx: - New StockRecommendationItem TypeScript interface - Stock Picks state and handleGetRecommendations() with 7-step animated progress - New Stock Picks tab button with AI badge (visible to all roles) - renderRecommendationsTab() with intro card, animated pulse-ring loading state, empty prompt state, responsive card grid with P/E P/B ROE D/E metric badges and expandable Why Now and Risk sections - Added pulse-ring…5c68d47
-
fix(lint): resolve explicit any error in recharts tooltip formatter and update strategy prompt
Ramkumar Shanmugam412cc98
-
fix: make streamlit imports conditional for backend deployment
ramkumar-bindrix60c2417
-
feat: implement AI performance tracker against Nifty 50 benchmark
ramkumar-bindrixab9a404 -
refactor: rename app from TCR to PortIQ (Portfolio Intelligence)
ramkumar-bindrix6ae4c1c
-
feat: add viewport-fixed chat assistant button and drawer for portfolio intelligence Q&A
ramkumar-bindrixe755128 -
feat(news): ranked news feed with impact labels and show-more pagination
ramkumar-bindrix- Added rank + impact (Critical/High/Medium/Low) fields to Gemini news schema - Prompt now requires news for ALL portfolio stocks, 50-word max headlines - render_news() redesigned: expanders show #rank SYMBOL | emoji Impact - Inner badge duplicates stock ID + coloured impact pill - Sentiment label shown below each headline - Top 3 news auto-expanded, items 4-10 collapsed, 11+ behind Show More button - Impact colour coding: Critical=red, High=orange, Medium=yellow, Low=blue80020bc
-
first commit
ramkumar-bindrix5d47dd0