Project image

SmartStock — AI-Powered Stock Analysis Terminal

PythonStreamlitPlotlyGemini AIyFinanceFinnhub APIOAuth 2.0PostgreSQL

An intelligent stock analysis terminal featuring real-time market data, interactive candlestick charting, multi-model AI-driven insights, and a custom safety scoring engine. Supports Google OAuth login, personalized watchlists, and trilingual (EN/ZH/FR) interfaces.


System Visualization & Performance

Project image
Project image
Project image
Project image
Project image
Project image
Project image
Project image

Core Engineering Challenges

- AI Integration & Resilience Built a smart multi-provider AI pipeline (Gemini → Groq → DeepSeek → local fallback) with automatic failover, rate-limit backoff, and retry logic, ensuring analysis availability even when individual APIs are down or throttled. - Real-Time Market Data Architecture Integrated Finnhub WebSocket API for live quotes during market hours alongside yFinance historical data, with cache-busting and a Streamlit auto-refresh mechanism to deliver sub-second price updates without full-page reloads. - Custom Trading Signal Engine Designed a proprietary safety scoring algorithm (0–100) that evaluates market cap tiers and volatility bands to generate actionable Strong Buy / Hold / Avoid signals, providing users with quantified risk assessments at a glance. - Interactive Visualization & UX Rendered professional candlestick + volume sub-charts using Plotly, with 7 selectable time periods (1D–5Y). Implemented a responsive sidebar with watchlist CRUD, real-time market status indicator (open/closed/pre-market/after-hours), and inline AI analysis panels. - Authentication & Persistence Implemented Google OAuth 2.0 with token-based session management and PostgreSQL-backed watchlist storage with full operation history tracking, enabling personalized experiences across sessions.