Hey everyone!
I built Stockly.ai, a Streamlit app for real-time stock market analysis, interactive visualizations, portfolio tracking, and AI-powered insights.
Live app: https://stockly-ai.streamlit.app/
GitHub: GitHub - anshk1234/stockly.ai: streamlit app that lets you know the data of stock market with visualisation and integrate ai for predective analysis and summarisation . · GitHub
What Stockly.ai does
- Live stock prices for any publicly traded ticker with interactive charts (using yfinance + Plotly/Altair).
- Company comparison across multiple tickers over custom time ranges.
- Key metrics and analyst rating overview for quick fundamental checks.
- Daily market news section to stay updated on major tickers.
- Personal portfolio tracker to add holdings and monitor performance inside the app.
AI features (Gemma 3 via Ollama)
Powered by Gemma 3 27B through the Ollama API, I added a dedicated AI tab with:
- Stock prediction: 7‑day forecast using the last 30 days of OHLC data, along with BUY/HOLD/SELL signal, confidence, and support/resistance levels.
- Top 5 tickers today: One-click analysis for AAPL, MSFT, NVDA, TSLA, META with signals and performance comparison.
- Market sentiment: Overall market mood (0–100), Bullish/Bearish/Neutral label, and Fear/Greed style interpretation from news.
- Portfolio health grade: Grades your portfolio (A–F) with diversification, performance, and risk management feedback.
- PDF report export: Generates a single PDF with all AI analyses, charts, and portfolio details using ReportLab + Kaleido.

