Machine Learning for Trading Strategies
Details
- Authors: Pieter-Jan Vliegen
- Title: Machine Learning for Trading Strategies
- Supervisior: Prof. Dr. Jörg Osterrieder
- Degree: Bachelor of Science
- University: BFH
- Year: 2023
- Status: Working Paper
Summary
Abstract
This bachelor's thesis explores the integration of news sentiment analysis with financial data to improve the accuracy of daily S&P500 index price predictions. Given the growing influence of public sentiment on financial markets, this study employs natural language processing and machine learning techniques to build a comprehensive model incorporating sentiment scores extracted from news articles with traditional financial data.
The thesis presents the creation of a novel dataset by combining sentiment scores—proportions of positive, neutral, and negative news—from select S&P500 tickers with their respective financial data. Machine learning, specifically the RandomForest classifier, plays a pivotal role in the forecasting model, enhancing its predictive power.
Despite challenges related to data acquisition and the selection of appropriate tickers, the research underscores the potential of sentiment analysis in financial forecasting. The study finds that the integration of sentiment analysis significantly contributes to the predictability of the S&P500 index prices, affirming the correlation between market sentiment and financial market movements.
For future research, the study recommends expanding the scope of data sources and exploring other machine learning algorithms to further enhance prediction accuracy and robustness. This thesis contributes to the growing literature on sentiment analysis in finance and underlines the significance of integrating alternative data types for better financial forecasting.
Important links
Data
Data source: