How harsha943vf/real-time-stock-prediction works
This is a small Dash stock-forecasting application. A user enters a ticker, model choice, and date range; the callback fetches and prepares historical prices, trains the selected model, generates future forecasts, computes evaluation metrics, and returns a chart and metrics to the page. The README provides no additional capability detail; source excerpts show the main workflow and model variants. The root-level utility duplicates were not shown as application dependencies.
Main entry points: app.py Dash callback and results · preprocessing.py Price fetch and sequences · model_utils.py LSTM forecast
Components 7
Forecast interface
- Dash callback and results
app.py
Market data preparation
- Price fetch and sequences
utils/preprocessing.py
Forecast models
- LSTM forecast
utils/model_utils.py - BiLSTM forecast
utils/model_utils.py - SVR forecast
utils/model_utils.py
Other components
- User
- Yahoo Finance
Connections 7
- User → Dash callback and results: submits inputs
app.py - Dash callback and results → Price fetch and sequences: prepares data
app.py - Price fetch and sequences → Yahoo Finance: downloads prices
utils/preprocessing.py - Dash callback and results → LSTM forecast: trains and forecasts
app.py - Dash callback and results → BiLSTM forecast: trains and forecasts
app.py - Dash callback and results → SVR forecast: trains and forecasts
app.py - Dash callback and results → User: returns chart and metrics
app.py