Giter VIP home page Giter VIP logo

adityaa-more / stock-price-prediction Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.19 MB

A comprehensive Stock Market Prediction tool using LSTM models and a Streamlit-based user interface, featuring real-time news integration and interactive visualizations.

Jupyter Notebook 97.97% Python 2.03%
analysis data-visualization financial integration lstm machine-learning predictive-modeling python real-time-news stock-price-prediction streamlit time-series-analysis

stock-price-prediction's Introduction

Stock Market Predictor

Overview

The Stock Market Predictor is an advanced tool designed to predict stock prices using Long Short-Term Memory (LSTM) models and provide an intuitive user interface for real-time stock market analysis. The application integrates historical stock data, moving averages, Fibonacci retracement levels, and real-time news updates to offer a comprehensive solution for investors and traders.

Features

  • Historical Stock Data Retrieval: Fetches historical stock price data from Yahoo Finance.
  • Data Preprocessing: Scales and preprocesses the data for LSTM model training.
  • LSTM Model Training: Utilizes LSTM neural networks to predict future stock prices.
  • Interactive User Interface: Built using Streamlit, allowing users to input stock symbols and visualize data.
  • Moving Averages: Displays moving averages (50-day, 100-day, and 200-day) for trend analysis.
  • Fibonacci Retracement Levels: Calculates and visualizes Fibonacci retracement levels.
  • Real-Time News Updates: Integrates real-time news related to the selected stock.

Installation

To set up the Stock Market Predictor, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/stock-market-predictor.git
    cd stock-market-predictor
  2. Create a virtual environment:

    python3 -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Run the Streamlit app:

    streamlit run app.py

Usage

  1. Input Stock Symbol: Enter the stock symbol (e.g., GOOG for Google) in the input field.
  2. View Stock Information: The app fetches and displays essential stock information and visualizes historical data.
  3. Analyze Moving Averages: Select from various moving average graphs to analyze stock trends.
  4. Check Fibonacci Retracement Levels: View calculated Fibonacci levels for potential support and resistance areas.
  5. Read Recent News: Access real-time news updates related to the selected stock to stay informed about market events.

Project Structure

  • app.py: Main application file containing the Streamlit app code.
  • models/: Directory containing the LSTM model and other machine learning scripts.
  • data/: Folder for storing fetched and preprocessed data.
  • requirements.txt: List of dependencies required to run the project.
  • README.md: Project documentation file.

System Requirements

  • Python 3.7 or higher
  • pip (Python package installer)
  • Internet connection (to fetch real-time data from Yahoo Finance)

Contributing

We welcome contributions to enhance the Stock Market Predictor. To contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Commit your changes and push them to your forked repository.
  4. Submit a pull request with a detailed description of your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

We extend our gratitude to the contributors and maintainers of the following libraries and tools:

Contact

For any questions or feedback, please contact me at [[email protected]].


By combining machine learning techniques with a user-friendly interface, the Stock Market Predictor aims to empower investors with valuable insights and tools for making informed decisions in the complex world of stock markets.

stock-price-prediction's People

Contributors

adityaa-more avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.