MACHINE LEARNING CLASSIFICATION USED TO PREDICT STOCK

버전 3.0.0 (159 KB) 작성자: Kevin Chng
it use Machine Learning in MATLAB to predict the buying-decision of Stock by using real life data.
다운로드 수: 3.5K
업데이트 날짜: 2019/3/12

라이선스 보기

Overview :

In this script, it uses Machine Learning in MATLAB to predict buying-decision for stock. Using real life data, it will explore how to manage time-stamped data and select the best fit machine learning model. As common being widely known, preparing data and select the significant features play big role in the accuracy of model. In this example, it uses the technical indicators of today to predict the next day stock close price.
In this example, the trading strategy is if the close price is higher 1% than the open price in the same day, then we should buy stock at the openning of the stock market and sell it at the closing of the stock market.
In this example, it demostrates how to pre-processing the data for modelling and predict the decision by the model. New data of each date will be tabulated to re-train new model and find the best model for next day prediction. Interesting?

[Note : Not advocating any particular strategy, factors or methodology]

Highlights :
Handling downloaded data from Yahoo Finance using the timetable object
Selecting features based on domain knowledge
Machine Learning Modeling
Automate to re-train new model to incorproate new updated data for next prediction
Predicting the buying-decision
Experience the computational speed with/without parallel computing

Product Focus :
MATLAB
Financial Toolbox
Statistics and Machine Learning Toolbox
Parallel Computing Toolbox (Optional)

인용 양식

Kevin Chng (2024). MACHINE LEARNING CLASSIFICATION USED TO PREDICT STOCK (https://www.mathworks.com/matlabcentral/fileexchange/68637-machine-learning-classification-used-to-predict-stock), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2018a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Financial Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
3.0.0

Perform data normalization before training machine learning model

2.0.0

1) Allow to download different stock data from Yahoo Finance
2) Remove no volume trading day before calculating those technical indicators
3) rectify logic error
4) Redefine the strategy to select best fit model
Welcome your feedback.

1.0.4

Added Citation

1.0.3

Change Description

1.0.2

New Icon

1.0.1

New Icon

1.0.0