Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Integration:  git github
63faf6adfa
Flask app structure modified
2 years ago
2c35f60eee
some fixes
1 year ago
18ed7bb7df
fixes model training to show predictions in app.py
2 years ago
1a4171a75a
structural changes
1 year ago
5a27354020
reverted commit for app.py (shows plot)
1 year ago
f563786e47
Update README.md
1 year ago
5a27354020
reverted commit for app.py (shows plot)
1 year ago
63faf6adfa
Flask app structure modified
2 years ago
63faf6adfa
Flask app structure modified
2 years ago
63faf6adfa
Flask app structure modified
2 years ago
2c35f60eee
some fixes
1 year ago
Storage Buckets

README.md

You have to be logged in to leave a comment. Sign In

Stock Price Prediction App

This project is a simple web application that predicts the next day's closing stock price using a trained LSTM model. The app fetches stock price data, performs feature engineering, scales the features, and then uses the trained model to predict the stock price.

Table of Contents

Getting Started

Prerequisites

  • Python 3.x
  • Flask
  • Pandas
  • NumPy
  • Scikit-Learn
  • Keras

Installation

  1. Clone the repository:
    git clone https://github.com/anuj-thakkar/Stock-Market
    cd stock-prediction-app
    
    

Usage

Run the Flask app:

  python app.py

Open your web browser and go to http://localhost:5000. The home page provides a description of the project, and the prediction page displays the latest stock price data along with the predicted closing price for the next day.

Data

The app fetches stock price data using the Yahoo Finance API. The data_loader.py script handles data fetching, updating, preprocessing, and feature engineering. The processed data is saved in the data/clean directory.

Model

The LSTM model used for prediction is trained using historical stock price data. The training process is performed in the train_model.py script, and the trained model is saved as trained_lstm_model.h5.

Endpoints

/: Displays the home page with project description.

/prediction: Displays the latest stock price data and the predicted closing price for the next day.

Tip!

Press p or to see the previous file or, n or to see the next file

About

No description

Collaborators 1

Comments

Loading...