Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deepraj21/predictbay
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.
https://github.com/deepraj21/predictbay
apex-charts bi-lstm blockchain bootstrap clerkauth css dialogflow firebase flask gru html javascript lstm machine-learning news-api plotly python stock-indicators stock-price-prediction yfinance-api
Last synced: 17 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/deepraj21/predictbay
- Owner: deepraj21
- Created: 2023-06-20T15:22:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-10T20:47:56.000Z (2 months ago)
- Last Synced: 2024-09-11T00:19:48.886Z (2 months ago)
- Topics: apex-charts, bi-lstm, blockchain, bootstrap, clerkauth, css, dialogflow, firebase, flask, gru, html, javascript, lstm, machine-learning, news-api, plotly, python, stock-indicators, stock-price-prediction, yfinance-api
- Language: JavaScript
- Homepage: https://predictbay-v2.azurewebsites.net/
- Size: 21 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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