How udithbnambiar47-droid/stock-price-prediction-statsmodels works
This is a Streamlit stock-analysis and prediction app. Users choose a ticker and history, the app obtains Yahoo Finance data, then presents price and volatility analysis, CSV downloads, and OLS-based next-day forecasting with backtesting and diagnostics. The sampled code is one large application file, so the graph groups its distinct in-file responsibilities rather than implying separate modules. README capabilities not visible in the excerpts are retained where their presence is documented; detailed wiring for those features is not inferred.
Main entry points: app.py Price history
Components 19
App interaction
- Streamlit app
app.py - Ticker and history
app.py
Market data
- Yahoo Finance
- Price history
app.py - Currency formatting
app.py
Analysis and forecasting
- Feature building
app.py - OLS forecasting
app.py - Forecast backtest
app.py - Model diagnostics
app.py - Volatility analysis
app.py - Regression analysis
app.py
Results and visualization
- Data summary
app.py - Correlation views
app.py - Pair plot
app.py - Forecast results
app.py - Volatility charts
app.py - CSV downloads
app.py - Regression results
app.py
Other components
- User
Connections 26
- User → Streamlit app: uses
Readme.MD - Streamlit app → Ticker and history: collects
app.py - Ticker and history → Yahoo Finance: requests prices
Readme.MD - Yahoo Finance → Price history: returns history
- Ticker and history → Currency formatting: looks up currency
app.py - Price history → Feature building: builds features
app.py - Feature building → OLS forecasting: provides predictors
app.py - OLS forecasting → Forecast backtest: evaluates forecast
app.py - OLS forecasting → Forecast results: shows forecast
app.py - Forecast backtest → Forecast results: shows test results
app.py - Price history → Volatility analysis: computes measures
app.py - Volatility analysis → Volatility charts: plots measures
app.py - Price history → Regression analysis: supplies observations
app.py - Regression analysis → Model diagnostics: checks model
app.py - Regression analysis → Regression results: shows OLS output
app.py - Price history → Data summary: summarizes data
app.py - Price history → Correlation views: computes correlations
app.py - Price history → Pair plot: plots relationships
app.py - Price history → CSV downloads: exports data
app.py - Data summary → Streamlit app: renders
app.py - Correlation views → Streamlit app: renders
app.py - Pair plot → Streamlit app: renders
app.py - Forecast results → Streamlit app: renders
app.py - Volatility charts → Streamlit app: renders
app.py - CSV downloads → Streamlit app: offers download
app.py - Regression results → Streamlit app: renders
app.py