Git Product home page Git Product logo

deepraj21 / predictbay Goto Github PK

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

PredictBay is an innovative project that aims to revolutionize decision-making in investment strategies through intelligent forecasting. Our platform utilizes advanced machine learning algorithms to provide accurate predictions for stocks from all over the world.

Home Page: https://www.predictbay.live

JavaScript 38.06% Python 1.40% CSS 5.72% HTML 25.98% Jupyter Notebook 28.84%
apex-charts bi-lstm blockchain bootstrap clerkauth css dialogflow firebase flask gru

predictbay's Introduction

Predictbay

"Master the Art of Stock Forecasting: Harness the Power of Machine Learning"

Project Overview

The project aims to provide stock price predictions for a given ticker symbol using historical stock data. The web application allows users to input a ticker symbol, and it retrieves the corresponding stock data using the Yahoo Finance API. The application then utilizes two models to predict future stock prices: a traditional machine learning model and a bi-directional LSTM model. The predicted prices are displayed on a web page along with historical price charts and other stock information.

Web Application

The Flask web application provides a user interface for interacting with the stock prediction models. It uses HTML templates to render the web pages and accepts user inputs for the ticker symbol. It retrieves stock data using the Yahoo Finance API and displays the historical price chart, including moving averages. It also displays the predicted prices from both models, along with other stock information such as the today's high, close, and open values. The application provides additional pages for FAQs, contact information, about section, user registration, and news. It also includes a global chat feature and a login page. Overall, the project combines traditional machine learning techniques with deep learning (LSTM) to predict stock prices. The Flask web application serves as a user-friendly interface to interact with the models and view the predictions, historical data, and other stock-related information.

Machine Learning Model

The traditional machine learning model used in the project is a regression model trained on historical stock price data. The model is loaded and the data is preprocessesd by scaling it using MinMaxScaler and splitting it into training and testing sets. The model is trained on the training set and used to predict prices on the testing set. The predicted prices are then inverse-transformed using the scaler to obtain the actual predicted values.

Bi-directional LSTM Model

The bi-directional LSTM model is implemented using the Keras library.The Data_fetch_transform function is responsible for fetching the stock data, preprocessing it, and splitting it into training and testing sets. The model is trained on the training set using the LSTM architecture with a time step of 100. The training and testing sets are reshaped to fit the model's input shape. The model is used to predict prices on the testing set, which are then inverse-transformed using the scaler. Additionally, the code includes an evaluate_predictions function that calculates the difference and ratio between the predicted and actual prices and identifies outliers based on a given threshold. The model also predicts the next day's closing price.


Predictbay Features

Precise Predictions: Leverage the power of artificial intelligence to make data-backed investment decisions confidently.

Real-time Insights: Access real-time market data, customizable charts, and personalized alerts for up-to-the-minute information.

Comprehensive Analysis: Gain in-depth insights into market trends, economic indicators, and news that impact investment opportunities. Each indicator and factor is explained in detail, providing educational value.

Collaborative Community: Connect with a vibrant community of like-minded investors to share insights, discuss strategies, and enhance your financial knowledge.

Blockchain-Powered Accuracy: Utilizing blockchain technology, we create immutable logs of predicted data and actual outcomes, ensuring untampered accuracy verification.

User-Friendly Interface: Our intuitive platform ensures seamless navigation and ease of use for investors of all levels.

Research and Learning Resources: Dive into our comprehensive FAQ documentation to learn more about various indicators, factors, and strategies. It serves as a valuable resource for new investors to expand their knowledge.

Website Preview

predictbay's People

Contributors

abhishek-mallick avatar deepraj21 avatar harshitm14 avatar mayukh-mondal-dev avatar

Stargazers

 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.