Skip to content

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

License

Notifications You must be signed in to change notification settings

RuochenT/stock-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published