How willsephton/nasdaqprediction-2025 works
This is a Streamlit dashboard for exploring NASDAQ-100 stock data through clustering, correlation, exploratory visualizations, and four forecasting approaches. The main workflow begins with ticker loading and user selection in main.py; the selected view then obtains the relevant market data and invokes its analysis module to display results. Forecasting includes a Prophet-derived buy/sell signal, while linear regression also reads and writes a local pickle model. The README documents the app’s purpose and launch method; the graph’s module wiring is based on the sampled source.
Main entry points: main.py Streamlit dashboard · dataRetrival.py Ticker discovery · pcaAndKMeans.py PCA reduction · prophetPrediction.py Prophet forecast
Components 19
Dashboard
- Streamlit dashboard
main.py
Market Data
- Ticker discovery
modules/dataRetrival.py - Market data retrieval
modules/dataRetrival.py - Clustering data
modules/dataRetrival.py - Correlation and EDA data
modules/dataRetrival.py - Forecast data
modules/dataRetrival.py
Analysis
- PCA reduction
modules/pcaAndKMeans.py - KMeans clustering
modules/pcaAndKMeans.py - Correlation analysis
modules/correlation.py - Exploratory charts
modules/eda.py
Forecasting
- Prophet forecast
modules/prophetPrediction.py - Buy-sell signals
modules/buySellSignals.py - ARIMA forecast
modules/arima.py - LSTM forecast
modules/lstm.py - Linear regression
modules/linearRegression.py - Pickled model file
Other components
- Dashboard user
- NASDAQ constituents
- Yahoo Finance
Connections 20
- Dashboard user → Streamlit dashboard: selects view
- Streamlit dashboard → Ticker discovery: loads tickers
- Ticker discovery → NASDAQ constituents: requests constituents
- Streamlit dashboard → Clustering data: requests clustering data
- Streamlit dashboard → Correlation and EDA data: requests analysis data
- Streamlit dashboard → Forecast data: requests forecast data
- Clustering data → Yahoo Finance: downloads prices
- Correlation and EDA data → Yahoo Finance: downloads prices
- Forecast data → Yahoo Finance: downloads prices
- Streamlit dashboard → PCA reduction: runs PCA
- PCA reduction → KMeans clustering: returns reduced data
- Streamlit dashboard → KMeans clustering: runs clustering
- Streamlit dashboard → Correlation analysis: runs correlations
- Streamlit dashboard → Exploratory charts: renders EDA
- Streamlit dashboard → Prophet forecast: runs forecast
- Prophet forecast → Buy-sell signals: passes forecast
- Streamlit dashboard → ARIMA forecast: runs forecast
- Streamlit dashboard → LSTM forecast: runs forecast
- Streamlit dashboard → Linear regression: runs forecast
- Linear regression → Pickled model file: loads and saves