Coder Social home page Coder Social logo

ruochent / stock-prediction Goto Github PK

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

(Active project) Predict Thai stock closing price with time series, machine learning, and deep learning methods

License: MIT License

Jupyter Notebook 99.81% Python 0.19%
arima-forecasting deep-learning lstm rnn-tensorflow time-series-analysis

stock-prediction's Introduction

This project encompasses various stages, including data collection, exploratory data analysis, data preprocessing, and the three kind of models: time series, machine learning, and deep learning models. The final step involves comparing the results of each model using the Root Mean Squared Error (RMSE) metric.

Data

I retrieved stock data using WebSocket due to the nature of the data being presented in a chart. Unfortunately, conventional methods such as requests or BeautifulSoup are not applicable in this scenario. The data fetched pertains to Adanc stock, representing Advanced Info Service Public Company Limited, Thailand's largest GSM mobile phone operator. For more details on the source of the data, you can visit the following website: Link

The data includes closing, opening,highest, lowest, and date which covers the period from 2018-12-21 to 2023-12-20.

Screenshot 2567-01-25 at 22 10 45

EDA

1 Screenshot 2567-01-28 at 00 00 29 2

Methods

  1. Time series methods: ARIMA (done), EWMA
  2. Machine learning methods: Random forests, XGBoost, MARS
  3. Deep learning methods: RNN and LSTM (next)

Model diagnostics for time series methods

3 4

stock-prediction's People

Contributors

ruochent 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.