Please use this identifier to cite or link to this item: https://doi.org/10.21256/zhaw-29534
Publication type: Master thesis
Title: A machine learning approach to stock price prediction
Authors: Rhyner, Sylvio
Advisors / Reviewers: Weibel, Marc
DOI: 10.21256/zhaw-29534
Extent: 55
Issue Date: 2023
Publisher / Ed. Institution: ZHAW Zürcher Hochschule für Angewandte Wissenschaften
Publisher / Ed. Institution: Winterthur
Language: English
Subject (DDC): 006: Special computer methods
332.6: Investment
Abstract: Investing in the stock market is a complex task that relies heavily on the ability to predict future price movements. For decades, investors and financial analysts have sought ways to forecast these trends using a multitude of methodologies, ranging from fundamental to technical analysis. This research implemented a Support Vector Regression (SVR) model, a powerful machine learning technique used for predicting real-valued outputs, to forecast the direction of Dow Jones Industrial Average (DJIA) stocks. The model used several input features, including six technical indicators, to predict future stock prices. The generated predictions were then used to produce trading signals that guided the construction and rebalancing of portfolios. Three different portfolio strategies - weekly, monthly, and quarterly rebalancing - were considered, all of which were compared to a passive equal-weighted (EW) benchmark portfolio. Each strategy relied on the SVR model's trading signals for stock selection, thereby encapsulating a Machine Learning-driven approach to investment management. The weekly rebalancing strategy emerged as the top performer across multiple metrics, including net cumulative return, annualized return, and the Sharpe ratio, thus outperforming the monthly, quarterly, and even the EW benchmark portfolio. This illustrates the potential benefits of frequent portfolio rebalancing in optimizing returns, despite the associated transaction costs. The results also show the influence of major global events, such as the Global Financial Crisis and the COVID-19 pandemic, as well as the rate of transaction costs on the portfolio performance. Future research should be directed towards the optimization of time windows for technical indicators and the weights of selected stocks.
URI: https://digitalcollection.zhaw.ch/handle/11475/29534
License (according to publishing contract): CC BY-NC-ND 4.0: Attribution - Non commercial - No derivatives 4.0 International
Departement: School of Management and Law
Appears in collections:MSc Banking and Finance

Files in This Item:
File Description SizeFormat 
2023_Rhyner_Sylvio_MSc_BF.pdf1.03 MBAdobe PDFThumbnail
View/Open
Show full item record
Rhyner, S. (2023). A machine learning approach to stock price prediction [Master’s thesis, ZHAW Zürcher Hochschule für Angewandte Wissenschaften]. https://doi.org/10.21256/zhaw-29534
Rhyner, S. (2023) A machine learning approach to stock price prediction. Master’s thesis. ZHAW Zürcher Hochschule für Angewandte Wissenschaften. Available at: https://doi.org/10.21256/zhaw-29534.
S. Rhyner, “A machine learning approach to stock price prediction,” Master’s thesis, ZHAW Zürcher Hochschule für Angewandte Wissenschaften, Winterthur, 2023. doi: 10.21256/zhaw-29534.
RHYNER, Sylvio, 2023. A machine learning approach to stock price prediction. Master’s thesis. Winterthur: ZHAW Zürcher Hochschule für Angewandte Wissenschaften
Rhyner, Sylvio. 2023. “A Machine Learning Approach to Stock Price Prediction.” Master’s thesis, Winterthur: ZHAW Zürcher Hochschule für Angewandte Wissenschaften. https://doi.org/10.21256/zhaw-29534.
Rhyner, Sylvio. A Machine Learning Approach to Stock Price Prediction. ZHAW Zürcher Hochschule für Angewandte Wissenschaften, 2023, https://doi.org/10.21256/zhaw-29534.


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.