We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Mathematics/Stock Price Forecast Based on SVM-KNN
PeriodicalsMathematics

Stock Price Forecast Based on SVM-KNN

Checking your access to this record.

Abstract & Overview

In this paper, the support vector machine (SVM) and K-nearest neighbor (KNN) algorithm were used to study the stock price forecasting problem, select the transaction data reflecting the stock changes and its technical indicators, including volume, closing price, highest price, moving average (MA), etc., forecasting the ups and downs and the closing price of the Shanghai Composite Index. Firstly, the SVM was used to predict the training set’s ups and downs. Then the training set used KNN to predict the short-term (1 day), medium-term (7 days) and long-term (30 days) prices of the stock, thus forming a forecast model based on transaction data and technical indicators. Finally, the MAPE and RMSE of this model were obtained. In order to verify the validity of the model, a new investment strategy was constructed based on the model prediction results, and the real data was used for investment, and the large-cap stock index was subjected to a one-month simulation investment.

Cite this record

Author (2019). Stock Price Forecast Based on SVM-KNN. Statistics and Applications, 08(06), 859–871. https://doi.org/10.12677/sa.2019.86097

Copy in another style

Author. (2019). Stock Price Forecast Based on SVM-KNN. Statistics and Applications, 08(06), 859–871. https://doi.org/10.12677/sa.2019.86097
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.