{"title":"AI-Powered Energy algorithmic Trading: Integrating Hidden Markov Models with Neural Networks","authors":"Tiago Monteiro","doi":"arxiv-2407.19858","DOIUrl":null,"url":null,"abstract":"In the field of quantitative finance, machine learning methods have become\nessential for alpha generation. This paper presents a pioneering method that\nuniquely combines Hidden Markov Models (HMM) and neural networks, creating a\ndual-model alpha generation system integrated with Black-Litterman portfolio\noptimization. The methodology, implemented on the QuantConnect platform, aims\nto predict future price movements and optimize trading strategies.\nSpecifically, it filters for highly liquid, top-cap energy stocks to ensure\nstable and predictable performance while also accounting for broker payments.\nQuantConnect was selected because of its robust framework and to guarantee\nexperimental reproducibility. The algorithm achieved a 31% return between June\n1, 2023, and January 1, 2024, with a Sharpe ratio of 1.669, demonstrating its\npotential. The findings suggest significant improvements in trading strategy\nperformance through the combined use of the HMM and neural networks. This study\nexplores the architecture of the algorithm, data pre-processing techniques,\nmodel training procedures, and performance evaluation, highlighting its\npractical applicability and effectiveness in real-world trading environments.\nThe full code and backtesting data are available under the MIT license.","PeriodicalId":501172,"journal":{"name":"arXiv - STAT - Applications","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-07-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - STAT - Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.19858","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In the field of quantitative finance, machine learning methods have become
essential for alpha generation. This paper presents a pioneering method that
uniquely combines Hidden Markov Models (HMM) and neural networks, creating a
dual-model alpha generation system integrated with Black-Litterman portfolio
optimization. The methodology, implemented on the QuantConnect platform, aims
to predict future price movements and optimize trading strategies.
Specifically, it filters for highly liquid, top-cap energy stocks to ensure
stable and predictable performance while also accounting for broker payments.
QuantConnect was selected because of its robust framework and to guarantee
experimental reproducibility. The algorithm achieved a 31% return between June
1, 2023, and January 1, 2024, with a Sharpe ratio of 1.669, demonstrating its
potential. The findings suggest significant improvements in trading strategy
performance through the combined use of the HMM and neural networks. This study
explores the architecture of the algorithm, data pre-processing techniques,
model training procedures, and performance evaluation, highlighting its
practical applicability and effectiveness in real-world trading environments.
The full code and backtesting data are available under the MIT license.