Forecasting high‐frequency excess stock returns via data analytics and machine learning
| Published date | 01 January 2023 |
| Author | Erdinc Akyildirim,Duc Khuong Nguyen,Ahmet Sensoy,Mario Šikić |
| Date | 01 January 2023 |
| DOI | http://doi.org/10.1111/eufm.12345 |
DOI: 10.1111/eufm.12345
ORIGINAL ARTICLE
Forecasting high‐frequency excess stock
returns via data analytics and
machine learning
Erdinc Akyildirim
1,2
|Duc Khuong Nguyen
3,4
|
Ahmet Sensoy
5
|Mario Šikić
2
1
Department of Banking and Finance,
Mehmet Akif Ersoy University, Burdur,
Turkey
2
Department of Banking and Finance,
University of Zurich, Zurich, Switzerland
3
IPAG Lab, IPAG Business School, Paris,
France
4
International School, Vietnam National
University, Hanoi, Vietnam
5
Faculty of Business Administration,
Bilkent University, Ankara, Turkey
Correspondence
Duc Khuong Nguyen, IPAG Lab, IPAG
Business School, 184, Boulevard
Saint‐Germain, Paris 75006, France.
Email: d.nguyen@ipag.fr
Abstract
Borsa Istanbul introduced data analytics to present
additional information about its market conditions. We
examine whether this product can be utilized via var-
ious machine learning methods to predict intraday
excess returns. Accordingly, these analytics provide
significant prediction ratios above 50% with ideal profit
ratios that can reach up to 33%. Among all the methods
considered, XGBoost (logistic regression) performs
better in predicting excess returns in the long‐term
analysis (short‐term analysis). Results provide evidence
for the benefits of both the analytics and the machine
learning methods and raise further discussion on
the semistrong market efficiency.
KEYWORDS
big data, data analytics, efficient market hypothesis, forecasting,
machine learning
JEL CLASSIFICATION
C52, C53, D81, G14, G17
Eur Financ Manag. 2023;29:22–75.wileyonlinelibrary.com/journal/eufm22
|
© 2021 John Wiley & Sons Ltd.
EUROPEAN
FINANCIAL MANAGEMENT
The authors would like to thank an anonymous referee and the Editor John A. Doukas for their constructive comments
that helped us significantly improve our paper. Ahmet Sensoy gratefully acknowledges support from the Turkish
Academy of Sciences under its Outstanding Young Scientist Program.
1|INTRODUCTION
Big data is now seen as the future of many businesses and industrial sectors. Defined as the data
sets whose size exceeds the ability of typical database software tools to capture, store, manage,
and analyse, big data has now spread through every part of life (Manyika et al., 2011). Orga-
nizations are becoming increasingly digital day after day and, as a result, a large volume of data
is being generated in their business operations (Sheng et al., 2017). Accordingly, the world has
witnessed the explosive growth of data in terms of larger volume, higher velocity and more
diverse variety in various industries (H. Chen et al., 2012)
1
and big data has become one of the
most valuable assets for many organizations in recent years (Albergaria & Jabbour, 2020). In
parallel to these developments, finance industry has also evolved into a status where big data is
an essential part of the day‐to‐day operations. In this study, we attempt to understand the
benefits of analytics derived from a specific type of big data in the stock markets. We parti-
cularly aim to find out whether data analytics (derived from order and trade data) that are
available as a commercial product in a leading emerging market can help day traders to forecast
excess returns if they are to be combined with cutting‐edge machine learning (ML) methods.
It is first opportune to note that, unlike capital, big data has no value without the tools by
which deeper insights can be extracted from it (Aydiner et al., 2019). Therefore, big data is often
associated with the concept of analytics which refers to the ability to obtain useful information
from big data by applying various quantitative methods to support decision‐making processes
(G. Wang et al., 2016). Even though the positive and negative aspects of big data analytics usage
are still debated (Ghasemaghaei, 2020), 80% of industry‐leading firms have started big data
analytics initiatives to bring greater accuracy to their decision‐making, according to recent
worldwide reports.
2
According to Sivarajah et al. (2017), analytics can improve the decision‐making process by
making sense of big data for different types of analytic problems namely: (i) descriptive ana-
lytics which explains what is happening at the present; (ii) prescriptive analytics which plans
what to do in the future; and (iii) predictive analytics which analyses the likelihood of the
future. Although all these types of analytics are important for various organizations, the pre-
dictive analytics is of uttermost importance in financial markets as it is directly related to one of
the most popular and controversial theories in finance, namely, the efficient market hypothesis
(EMH) introduced by Fama (1970).
EMH postulates that any past information should already be reflected into current prices so
that they might be affected by only future events. To the extent that the future is unknown,
prices should be consistently unpredictable. However, several works have shown so far that
some market patterns can help generate abnormal returns thus violating the EMH, particularly
the semistrong EMH (e.g., Bernard & Thomas, 1990; Lakonishok et al., 1994), according to
which, abnormal returns cannot be earned by the help of all the available public information
including a company's fundamentals, its historical stock market performance, or any other
variables that may affect stock prices, such as economic factors.
Even though the concept of (semistrong) EMH remains the same, the coverage of public
information relevant to financial markets has changed drastically over the last three decades.
With the availability of large amounts of high‐quality data, faster and faster processors crunch
1
As predicted by the International Data Corporation, it is projected by 2025 that there will be 175 zettabytes of data
increased from 41 zettabytes in 2019 and only 2 zettabytes in 2010 (Reinsel et al., 2018).
2
https://www.statista.com/statistics/742935/worldwidesurvey‐corporate‐big‐data‐initiatives‐and‐success‐rate/
AKYILDIRIM ET AL.EUROPEAN
FINANCIAL MANAGEMENT
|
23
ever more data such as macroeconomic announcements and monetary policy decisions,
earnings statements, competitors' performance, consumer sentiment, and economic policy
uncertainty (Begenau et al., 2018). In essence, financial markets are the place where analytics
are most needed as they have the potential to forecast future returns. To meet this demand in
the industry, various companies started to generate and sell big financial data analytics to help
investors in financial decision‐making.
With that in mind, Borsa Istanbul (BIST—formerly known as Istanbul Stock Exchange)
introduced a product called ‘data analytics’on 1 June 2016, covering 39 different analytics.
These analytics are derived from the order and trade data of Borsa Istanbul's equity market and
aim to present vital information about equity market conditions and trends to various types of
market participants such as market makers, algorithmic traders, retail investors, smart order
routing applications, analysts and risk managers.
3
Another important feature regarding the
BIST analytics is their real‐time dissemination which allows for reaching meaningful data in a
timely manner.
In this paper, we aim to examine whether the analytics product sold by Borsa Istanbul can
be used to identify future stock price patterns at the high‐frequency level using six different ML
algorithms. The answers to this question allow us to assess not only the utility of BIST data
analytics for forecasting purposes but also the validity of the EMH based on the combination of
high‐quality publicly available data and advanced quantitative techniques. Note that the ML
approach is highly promising in finance since the nature of the forecasting relation between
predictive variables and stock returns can change over time. It has been successfully applied to
various types of financial time‐series forecasting such as stock prices (Patel et al., 2015) and
stock volatility (Kim & Won, 2018), exchange rates (Colombo & Pelagatti, 2020), derivatives
(B. Wang & Wang, 2019), commodities (X. Li et al., 2019) and even cryptocurrencies (Atsalakis
et al., 2019). Its application in our current setup is particularly relevant because big data
samples with complex nature representing the majority or the entire population may imply the
invalidity of conventional statistical methods (Ngo et al., 2020).
Accordingly, our results reveal that data analytics can indeed help investors in predicting
high‐frequency future excess returns. For the various selection of train and test partitions
within the whole sample, we observe an average prediction accuracy rate of 53% across all
stocks and methods, which can reach up to 58% for specific stock and methodologies. Among
all methods considered, Random forest has the highest forecasting accuracy in general. With
regard to capturing potential gains, ideal profit ratio analysis reveals that ML methods can
capture up to 42% of all excess returns. In this case, Extreme Gradient Boosting (XGBoost) and
Random Forest techniques are superior to others.
Next, we implement a dynamic setup via a sliding window approach for different selections
of window size, train and test partitions. In this setup, each window that slides from beginning
to the end of the sample generates a success and ideal profit ratio which eventually creates a
sample of success ratios for each stock. Consequently, we test whether the mean of this sample
is greater than 50% or not for these stocks individually and also investigate the average cap-
ability of capturing potential returns, represented in percentage terms, in excess of the
benchmark index. Accordingly, we can forecast intraday excess returns with an accuracy sig-
nificantly greater than 50%, independent of the ML method, window size, train and test
3
Another exchange that provides a similar product is the Deutsche Borse. To the best of our knowledge, no other
exchange provides a similar product. The main reason is argued to be privacy concerns by algorithmic traders who fear
that their trading strategies might be exposed with the help of these analytics.
24
|
EUROPEAN
FINANCIAL MANAGEMENT
AKYILDIRIM ET AL.
Get this document and AI-powered insights with a free trial of vLex and Vincent AI
Get Started for FreeUnlock full access with a free 7-day trial
Transform your legal research with vLex
-
Complete access to the largest collection of common law case law on one platform
-
Generate AI case summaries that instantly highlight key legal issues
-
Advanced search capabilities with precise filtering and sorting options
-
Comprehensive legal content with documents across 100+ jurisdictions
-
Trusted by 2 million professionals including top global firms
-
Access AI-Powered Research with Vincent AI: Natural language queries with verified citations
Unlock full access with a free 7-day trial
Transform your legal research with vLex
-
Complete access to the largest collection of common law case law on one platform
-
Generate AI case summaries that instantly highlight key legal issues
-
Advanced search capabilities with precise filtering and sorting options
-
Comprehensive legal content with documents across 100+ jurisdictions
-
Trusted by 2 million professionals including top global firms
-
Access AI-Powered Research with Vincent AI: Natural language queries with verified citations
Unlock full access with a free 7-day trial
Transform your legal research with vLex
-
Complete access to the largest collection of common law case law on one platform
-
Generate AI case summaries that instantly highlight key legal issues
-
Advanced search capabilities with precise filtering and sorting options
-
Comprehensive legal content with documents across 100+ jurisdictions
-
Trusted by 2 million professionals including top global firms
-
Access AI-Powered Research with Vincent AI: Natural language queries with verified citations
Unlock full access with a free 7-day trial
Transform your legal research with vLex
-
Complete access to the largest collection of common law case law on one platform
-
Generate AI case summaries that instantly highlight key legal issues
-
Advanced search capabilities with precise filtering and sorting options
-
Comprehensive legal content with documents across 100+ jurisdictions
-
Trusted by 2 million professionals including top global firms
-
Access AI-Powered Research with Vincent AI: Natural language queries with verified citations
Unlock full access with a free 7-day trial
Transform your legal research with vLex
-
Complete access to the largest collection of common law case law on one platform
-
Generate AI case summaries that instantly highlight key legal issues
-
Advanced search capabilities with precise filtering and sorting options
-
Comprehensive legal content with documents across 100+ jurisdictions
-
Trusted by 2 million professionals including top global firms
-
Access AI-Powered Research with Vincent AI: Natural language queries with verified citations