GithubHelp home page GithubHelp logo

stockpriceforecasting's Introduction

Stock Price Forecasting

The project aims to use time-series machine learning forecasting models to predict stock prices.

Problem Statement

The project aims to solve the problem of predicting stock prices using time-series machine learning models. The goal is to develop models that can accurately forecast the future price of a stock based on its historical price data.

Dataset

The dataset used for the project consists of historical stock price data for various companies. The data includes features such as opening price, closing price, volume, and other financial indicators.

Methodology

The project uses time-series forecasting models such as Theta model, Exponential Moving Average, ARIMA, Prophet, and LSTM to predict the future price of a stock based on its historical price data. The models are trained and tested using a time series split and evaluated using mean absolute percentage error (MAPE) as the metric.

Results

The project has achieved promising results in predicting stock prices using the developed time-series forecasting models.

Model Performance (MAPE) (%)
ARIMA 3.7088
Ensemble model 1.3429
Prophet 2.4516
LSTM 8.747

Future Work

Future work includes exploring the use of other time-series forecasting models and improving the accuracy of the current models.

Requirements

The project is implemented in Python and requires the following libraries:

  • pandas
  • numpy
  • scikit-learn
  • statsmodels
  • fbprophet
  • tensorflow
  • pytorch

Deployment

This application is also deployed to a web app written in Flask. To run the web app, follow these steps:

  1. Install the required libraries by running pip sync requirements.txt.
  2. Run the Flask app by executing python server/app.py.
  3. Navigate to http://localhost:5000 in your web browser to access the web app.

Contributing

If you'd like to contribute to the project, feel free to submit a pull request. We welcome all contributions!

License

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

stockpriceforecasting's People

Contributors

ducman1998 avatar vinhdc10998 avatar vantuan5644 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

ngoc-anh-tran

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.