From Oil Prices to Stock Trading: A Machine Learning Approach
Purpose: Our study investigates to what extent the predictive information contained in the relationship between the price of West Texas Intermediate (WTI) crude oil and the evolution of the share price of the integrated energy company Chevron (CVX) can be exploited, through machine learning (ML) such as Gaussian Process (GP) and Deep Gaussian Process (DGP) models, to generate trading signals with economic utility. Specifically, the study examines whether the predictions of these models can be transformed into positive economic outcomes by applying long/short rules, including contrarian interpretation of the signal, and whether increasing the architectural depth from a single-layer GP to two and three layers DGPs generates incremental improvements in economic performance. Design/Methodology/Approach: The methodology is based on a ML framework using GP and DGP models to investigate the predictive relationship between WTI crude oil prices and CVX stock prices. Three model architectures, comprising one, two, and three layers, are estimated and compared in terms of their statistical and economic performance. The model results are subsequently translated into LONG/SHORT trading signals and evaluated through an out-of-sample backtesting framework. Both the direct and contrarian signals generated by the model are examined to determine whether the statistical predictive information can be converted into economically exploitable trading signals. Furthermore, in our analysis we investigate the sensitivity of trading performance to market volatility regimes. Findings: The results highlight the contrarian nature of predictive information and show that economic performance depends on the rule of transforming predictions into signals, while increasing the model depth does not guarantee superior economic outcomes. Practical implications: The findings of our research have implications for both financial modeling and the design of an algorithmic trading system. Our evidence underlines that the contrarian strategies based on DGP predictions can outperform a simple buy-and-hold strategy, suggesting that the market inefficiencies may persist even in the case of a liquid asset such as Chevron. Originality/Value: Our research contributes to the vast literature on the application of ML models in investments by demonstrating that the model is not evaluated solely by its predictive capacity, but rather by considering the entire process by which predictive information is transformed into investment decisions and, ultimately, into economic value.