Overview
An interactive stock market tracker for NSE (National Stock Exchange, India) stocks,
built with Streamlit and the Yahoo Finance API (yfinance). Co-built with Mark Allen
while in grade XII at Arsha Vidya Mandir. It's one of the earliest real projects I shipped.
Problem
Understanding a stock's full picture (price history, financials, holders, analyst opinion, news) usually means jumping between several different tools and sites. The goal was one interface where picking a ticker gives access to all of that in one place, built to be understandable by people who aren't already market experts.
What I built
- A ticker selector pulling the live NSE F&O stock list, feeding ~17 selectable features: stock summary, general info, historical data, price/volume plots, a calculator, major holders, balance sheet, cash flow, earnings, financials, actions, sustainability, analyst recommendations, earnings calendar, and latest news
- Interactive price/volume charts (Plotly) with a configurable timeframe (from 1-minute to 3-month periods)
- CSV export of any pulled dataset
- A basic username/password login and sign-up module (SQLite-backed) gating access to the sidebar
- A HTML-embedded navbar linking out to a companion YouTube playlist teaching stock market basics, aimed at the same beginner audience
Architecture
A single Streamlit app (Stock_Market_Tracker_Original.py) drives the whole experience:
a sidebar ticker selector and feature selector, both backed by live calls to
yfinance.Ticker(...). Selected data is rendered through pandas/Plotly directly in
the page. A separate About.py Streamlit page carries the project's own writeup. A
SQLite database (acc.db, via sqlite3) backs a simple userdetails table
(username/password) for login and sign-up, checked against st.sidebar.button("Login")
/ st.sidebar.button("Sign Up").

generated by gitdiagram · click to explore interactively ↗ · full size
Decisions
- AlphaVantage → Yahoo Finance for data: AlphaVantage's free tier gated most of the interesting data behind a paywall; Yahoo Finance was free and unrestricted, so we switched early once that became clear.
- Tkinter → Streamlit for the UI: Tkinter's learning curve and verbosity for even simple widgets made it a poor fit for two beginners; Streamlit replaced it (and absorbed what Matplotlib/pandas were doing for visualization) with far less code and a much shorter path to a working UI.
Results
A working Streamlit app covering the full range of stock research features listed above, live against real NSE market data.
What I learned
- Picking the right tool early (Streamlit over Tkinter, Yahoo Finance over AlphaVantage) mattered more than pushing through with the first choice. Both pivots came from hitting a real wall, not from over-planning upfront.
- This was an early lesson in scoping: a "track everything about a stock" feature list is easy to say and a lot of surface area to actually build.
- Free data APIs come with trade-offs.
yfinancewas free and broad, but as an unofficial wrapper it can change or break without notice, so the app is only as reliable as its data source. - Building for beginners shaped what we built. The linked YouTube playlist on market basics exists because the audience was people new to investing, not market experts.