Optimization of Daily Exposure to the S&P 500 Index Using Machine Learning

Thesis title: Optimalizace denní expozice indexu S&P 500 s využitím strojového učení
Author: Prokop, Adam
Thesis type: Bakalářská práce
Supervisor: Folprecht, Marek
Opponents: Shabanov, Aleksander
Thesis language: Česky
Abstract:
Tato bakalářská práce se zabývá návrhem a implementací modelu strojového učení pro optimalizaci dynamické denní expozice vůči akciovému indexu S&P 500 v rozmezí 0 až 2. Cílem je zhodnotit platnost středně silné formy hypotézy efektivních trhů prostřednictvím algoritmické analýzy veřejně dostupných tržních indikátorů. Datovou základnu tvoří proprietární soubor časových řad od společnosti Hull Tactical. Navržený predikční systém kombinuje regresní modely XGBoost a LightGBM s následnou transformací odhadů nadvýnosů do finální alokace prostřednictvím logistické funkce. Výsledky testování na testovacích datech pokrývajících 504 obchodních dnů ukazují, že taktická alokace kapitálu s anualizovaným Sharpovým poměrem 1,0961 nepřekonala pasivní strategii kup a drž dosahující hodnoty 1,1310. Dosažené výsledky jsou v souladu se středně silnou formu hypotézy efektivních trhů u nejlikvidnějších aktiv a v kontextu hypotézy adaptivních trhů indikují vysoké informační vytěžení použitých indikátorů tržním ekosystémem.
Keywords: S&P 500; hypotéza efektivních trhů; hypotéza adaptivních trhů; algoritmické obchodování; optimalizace portfolia
Thesis title: Optimization of Daily Exposure to the S&P 500 Index Using Machine Learning
Author: Prokop, Adam
Thesis type: Bachelor thesis
Supervisor: Folprecht, Marek
Opponents: Shabanov, Aleksander
Thesis language: Česky
Abstract:
This bachelor's thesis deals with the design and implementation of a machine learning model for optimizing dynamic daily exposure to the S&P 500 equity index within the range of 0 to 2. The objective is to evaluate the validity of the semi-strong form of the efficient market hypothesis through the algorithmic analysis of publicly available market indicators. The data foundation consists of a proprietary time series dataset from Hull Tactical. The proposed prediction system combines XGBoost and LightGBM regression models, with a subsequent transformation of excess return estimates into the final allocation via a logistic function. The testing results on out-of-sample data covering 504 trading days show that the tactical capital allocation, with an annualized Sharpe ratio of 1.0961, did not outperform the passive buy-and-hold strategy, which achieved a value of 1.1310. The obtained results are consistent with the semi-strong form of the efficient market hypothesis for highly liquid assets and, in the context of the adaptive markets hypothesis, indicate a high degree of informational extraction from the used indicators by the market ecosystem.
Keywords: efficient market hypothesis; S&P 500; algorithmic trading; adaptive markets hypothesis; portfolio optimization

Information about study

Study programme: Finance
Type of study programme: Bakalářský studijní program
Assigned degree: Bc.
Institutions assigning academic degree: Vysoká škola ekonomická v Praze
Faculty: Faculty of Finance and Accounting
Department: Department of Banking and Insurance

Information on submission and defense

Date of assignment: 6. 2. 2026
Date of submission: 23. 5. 2026
Date of defense: 10. 6. 2026
Identifier in the InSIS system: https://insis.vse.cz/zp/95485/podrobnosti

Files for download

    Last update: