This is a simple Streamlit web app that fetches and displays real-time and historical stock data using the Polygon API.
- Fetch detailed stock ticker information (company name, market cap, employees, website, etc.)
- Plot interactive 30-day historical price charts
- Display previous day's open, close, high, low, volume, and VWAP
- Show key financial metrics (assets, liabilities, revenues, EPS, etc.)
- Responsive design with data tables and interactive charts
- Clone this repo.
git clone https://github.com/alphasecio/streamlit-polygon.git cd streamlit-polygon- Install dependencies.
pip install -r requirements.txt- Run the app.
streamlit run streamlit_app.py- Get a free Polygon API key and input it in the sidebar along with a stock ticker (e.g., AAPL).
For a step-by-step guide to deploying on Streamlit, see this post. To deploy on Railway, click the button below.
