Problem
A predicted price on its own gives a non-technical user no way to judge whether to trust it, or what the prediction is based on.
Users
Non-technical users of the Finstox demo site who want to understand a prediction before acting on it.
Constraints
- A course project and demo, with no real money involved.
- Only free public market data, fetched through
yfinanceandnsepython.
What I built
- A FastAPI service with JWT authentication, NSE market status, stock search suggestions and company logos.
- An LSTM model (TensorFlow/Keras) trained on recent price history for NSE stocks.
- LIME and SHAP explanations for each prediction, so users can see which inputs moved the forecast.
Trade-offs I made
- An explanation for each prediction.Users ask about one stock at a time, so each forecast gets its own LIME and SHAP breakdown.