Skip to main content

Optimal portfolio selection with volatility information for a high frequency rebalancing algorithm

Abstract

We propose a high-frequency rebalancing algorithm (HFRA) and compare its performance with periodic rebalancing (PR) and threshold rebalancing (TR) strategies. PR refers to the process of adjusting the relative weight of assets within portfolios at regular time intervals, whereas TR is a process of setting allocation limits for portfolios and rebalancing when portfolios exceed a specific percentage of deviation from the target allocation. The HFRA is constructed as an integration of pairs trading and a threshold-based rebalancing strategy, and the profitability of the HFRA is examined to determine the optimal portfolio size. The HFRA is applied to a dataset of real price series from cryptocurrency exchange markets across various trends and volatility regimes. Using cointegrated price data, it is shown that increasing the number of assets in a portfolio supports the profitability of the HFRA in an up-trend and reduces the potential loss of the HFRA in a down-trend in a high-volatility environment. For low-volatility regimes, although increasing portfolio size marginally enhances the HFRA’s profitability, the profits of portfolios of varied sizes do not significantly differ. It is demonstrated that when volatility is relatively high and the trend is upward, the HFRA can yield a substantial return via portfolios of large sizes. Moreover, the profitability of the HFRA is compared with that of the PR and TR strategies for long-term application. The HFRA is more profitable than the PR and TR strategies. This achievement of the HFRA is also validated statistically using the Fisher–Pitman permutation test.

Introduction

The utilization of blockchain technology led to the emergence of a supra-governmental monetary system that operates independently of any central authority. Unlike traditional fiat currencies, cryptocurrencies are not controlled by entities such as central banks. Bitcoin, the first cryptocurrency introduced in 2008 by an anonymous author using the pseudonym Satoshi Nakamoto (2008), is a prime example of an encryption-based innovation. Since the introduction of Bitcoin in 2009, the rapid growth of financial technologies has led to the creation of a variety of crypto-assets such as stablecoins, utility tokens, and non-fungible tokens (Bains et al. 2022), and these crypto-assets have been widely utilized by financial investors owing to their advantageous properties. They enable processes that support financial transactions to become more efficient, transparent, fast, and flexible (Romero Ugarte 2018). In addition, crypto-assets have some advantages over conventional payment systems, such as peer-to-peer focus, user autonomy, discretion, and minimal transaction fees for international payments  (Grobys et al. 2021). Through these features, crypto-assets, especially Bitcoin gained the interest of investors, government institutions, and academia.

As of 2023, a significant number (approximately 9000) of alternative cryptocurrencies, commonly known as altcoins, exist, with a total market cap of $1136 billion. Moreover, it is widely accepted that the top 20 cryptocurrencies have a substantial share, accounting for about 90% of the entire market (Statista 2023).

As cryptocurrency markets have high volatility, it is difficult to make a profit through crypto-asset trading (Cohen 2021), and most research in this field focuses on algorithms that accurately predict returns and volatility to achieve profitable investments in crypto-assets (Fang et al. 2022; Dong and Boutaba 2019; Kaya Soylu et al. 2020; Baur and Dimpfl 2021; Guindy 2021).

Over the past 2 decades, algorithmic trading (AT) has played an important role in financial markets. AT is a methodology for automatically executing orders using a defined set of instructions to realize a trade without human intervention (Chaboud et al. 2014; Cartea et al. 2015). Improvements in computer technologies has been accompanied by the widespread use of AT, mostly among institutional investors (Liang et al. 2020). Accordingly, AT reached 70% of the overall trading volume in some exchange markets (European Central Bank 2019). An extension of AT is high-frequency trading (HFT), which allows the execution of buy and sell orders at a very fast rate  (Cartea and Jaimungal 2013; Vo and Yost-Bremm 2020; Jain et al. 2021; Virgilio 2022). Major features of HFTs are their high speed, turnover rates, and order-to-trade ratios. Trading strategies require sophisticated algorithms and technological tools. With the increasing use of artificial intelligence and machine learning (ML) techniques, there is growing interest in AT  (Konrad and Philip 1994; Liu et al. 2021; Zhang et al. 2021; Bağcı 2021).

The literature on AT strategies for crypto-assets is growing. One of the first contributors to the literature is Madan et al. (2015). They used ML algorithms to predict Bitcoin price (Madan et al. 2015). In the last few years, numerous studies investigated gains from cryptocurrencies with ML techniques (Zbikowski 2016; Jiang and Liang 2017; McNally et al. 2018; Atsalakis et al. 2019). Ślepaczuk and Zenkova (2018) employed the support vector machine (SVM) model to build an AT strategy. They state that an equally weighted portfolio as a benchmark strategy outperforms all benchmark strategies as well as the SVM strategy (Ślepaczuk and Zenkova 2018). Recent research by Leung and Nguyen (2019) suggested that setting greater entry and exit levels leads to larger profits in the case of cointegrated portfolios involving four cryptocurrencies: Bitcoin (BTC), Ethereum (ETH), Bitcoin Cash (BCH), and Litecoin (LTC) (Leung and Nguyen 2019). Cohen (2021) attempted to determine an optimal trading strategy for Bitcoin. They used three popular algorithmic systems and demonstrated that the relative strength index yields poorer results than the buy-and-hold strategy. However, the moving average convergence diversion and pivot reversal strategies significantly outperform the buy-and-hold strategy. Moreover, their optimization process, which is based on direct transaction prices, produced even better results (Cohen 2021). The profitability of trading strategies designed using ML techniques was also explored in a study by Sebastião and Godinho (2021).

The pair-trading strategy has been widely adopted in AT. As previously reported, pair trading is based on the historical co-movement of the prices of the two securities. This strategy assumes that the spread between the two securities reverts to its historical mean. Hence, the linear combination of these two securities is a stationary process. Divergency in prices is utilized by opening a long position in an undervalued security and a short position in an overvalued security. Once the spread returns to its historical equilibrium, profits can be generated by closing the positions (Gatev et al. 2006). A comprehensive literature review by Krauss (2017) showed that the literature on pair-trading strategies can be divided into five approaches. The method introduced by Gatev et al. (2006) is a distance approach that uses nonparametric distance metrics to identify pair-trading opportunities. The remaining four methodologies are based on the cointegration approach relying on formal cointegration testing (Vidyamurthy 2004), the time series approach concentrating on finding optimal trading procedures (Elliott et al. 2005), the stochastic control approach (Jurek and Yang 2007) focusing on identifying optimal portfolio holdings, and other approaches, including further applicable pairs-trading schemes. In addition, methods such as the ML approach (Huck 2009), the copula approach (Rad et al. 2016), and the principal components analysis approach (Avellaneda and Lee 2010) make seminal contributions to the pair-trading literature (Krauss 2017). The cointegration relationship between the two assets signifies a long-term relationship. Taking advantage of this relationship, we can effectively model the co-movement of an asset pair and use it to implement a high-performance pair-trading strategy (Rad et al. 2016). The major benefit of the cointegration approach is that it provides long-term relationships between traded assets based on short-term deviations from this long-run equilibrium with the expectation of mean reversion.

Another important application of AT is portfolio selection and portfolio asset allocation (DeMiguel et al. 2009; Zilinskij 2015; Dayanandan and Lam 2015). Portfolio rebalancing strategies and algorithms are widely used to set portfolio’s asset allocations. These strategies are categorized into three main groups: periodic rebalancing (PR), threshold (or tolerance-band) rebalancing (TR), and a combination of PR and TR (Zilinskij 2015; Zilbering et al. 2015). PR refers to the process of adjusting the relative weights of assets within a portfolio at regular intervals. This involves returning the portfolio’s allocation to its original target or desired asset allocation. PR ensures the reinstatement of original asset allocation by selling overperforming assets and buying underperforming assets. By doing so, investors can maintain the desired level of risk and return on their portfolios. With PR, the portfolio weights of assets are rebalanced to an initially determined allocation at regular time intervals such as daily, monthly, or annual  (Das et al. 2014; Costabile and Gaudenzi 2017). In the PR strategy, the only parameter considered is time, regardless of other market conditions. Portfolio allocation can also be rebalanced within the trading day, at hourly or per-minute timeframes if the considered stock markets are highly volatile. Using the TR strategy, the asset allocation in a portfolio is rebalanced when the weight of an asset in the portfolio exceeds a specific (maximum or minimum) limit, such as 2% or 5% (Bernoussi and Rockinger 2022). The threshold may depend on market-based parameters, complex models of return predictability, or risk considerations (Moallemi and Saglam 2015). Using a combination of periodic and threshold strategies, the assets in the portfolio are rebalanced in a specified time interval (monthly or annual) if and only if the portfolio’s asset allocation deviates to a certain extent from the predetermined asset allocation (Zilbering et al. 2015). Rebalancing algorithms are based on these strategies and additional market conditions (e.g., trends, volatility, or transaction costs) to achieve an optimal portfolio allocation (Bernoussi and Rockinger 2022; Zhao et al. 2021). Many recent studies on rebalancing algorithms focus on transaction costs  (Woodside-Oriakhi et al. 2013; Wang et al. 2014; Mittal and Mehlawat 2014; Mattei 2018), historical return data (Jung and Kim 2017; Zhao et al. 2021), risks and liquidity (Gupta et al. 2012; Mittal and Mehlawat 2014), and return skewness (DeMiguel et al. 2013). In addition to market variables, portfolio rebalancing studies are based on social parameters such as investor sentiment  (Yu et al. 2022), real-world household portfolios (Horn and Oehler 2020), and the effects of inattention on portfolio choices (Rachedi 2018). Furthermore, innovative computational methods, including quantum computing (Hodson et al. 2019), fuzzy simulation (Gupta et al. 2012), genetic algorithms  (Mittal and Mehlawat 2014), and reinforcement learning (Lim et al. 2021), have been utilized to achieve dynamic portfolio rebalancing (Moallemi and Saglam 2015; Jung and Kim 2017).

This study investigates the profitability of portfolios based on a cointegration approach with an AT strategy. To this end, a high-frequency rebalancing algorithm (HFRA), which integrates pairs trading and a threshold-based rebalancing strategy, is proposed and implemented on portfolios of various sizes under six different trend and volatility regimes. The impact of the trend and volatility of price series on the profitability of the proposed HFRA was examined using a real dataset (obtained from cryptocurrency exchange markets). The robustness of the HFRA algorithm is validated by long-term applications, and a comparison of the performance of the HFRA, PR, and TR strategies reveals that HFRA is more profitable than the PR and TR strategies. This result indicates that using HF data in the HFRA makes a substantial difference in profitability by capturing market spikes more accurately.

Today, exchange platforms such as Binance and Kucoin offer trading bots to investors to automatically use rebalancing strategies  (Binance 2023; Kucoin 2023). To use these bots, investors must create a portfolio of their own accord and determine the rebalancing conditions. Therefore, the findings of this study, which examines the profitability of different portfolio choices and rebalancing strategies, may be of interest to both individual and institutional investors.

The contributions of this work are as follows. First, we integrate pairs trading with a high-frequency rebalancing algorithm and apply the algorithm to real price series from cryptocurrency exchange markets. Second, few studies focused on pair-trading strategies in the cryptocurrency market compared to other financial markets. Moreover, in contrast to previous studies on rebalancing strategies, we use a high-frequency (per minute) price series of crypto-assets, which allows for a more realistic approach for HFT algorithms. Using cointegrated price series, which enables the model and utilization of the co-movement of traded pairs, is another advantage of the HFRA strategy.

The rest of the paper is organized as follows. In the next section, the methodology and scheme of the proposed trading algorithms are explained, and details of the real dataset are expressed. The algorithms are then applied to real price series from exchange markets, and the obtained results are discussed and compared with those of previous studies. Finally, the main conclusions of this study are discussed.

Dataset and methods

In this study, a HFRA is proposed and applied to the real price series of various crypto-assets that are obtained from cryptocurrency exchange markets. Accordingly, we consider price series of multiple assets to apply the HFRA to portfolios of various sizes. Note that the HFRA is a market-independent strategy; thus, it can be applied to any stock market.

Real dataset

For real data applications, the historical data of the following 40 crypto-assets were obtained from the Binance Exchange for 2021 (Binance 2022): Aave (AAVE), Cardano (ADA), Algorand (ALGO), Cosmos (ATOM), Avalanche (AVAX), Axie Infinity (AXS), Bitcoin Cash (BCH), BNB (BNB), Chiliz (CHZ), Dash (DASH), Dogecoin (DOGE), Polkadot (DOT), MultiversX (Elrond) (EGLD), EOS (EOS), Ethereum Classic (ETC), Ethereum (ETH), Filecoin (FIL), Fantom (FTM), The Graph (GRT), Hedera Hashgraph (HBAR), MIOTA (IOTA), Chainlink (LINK), Litecoin (LTC), Decentraland (MANA), Polygon (MATIC), Maker (MKR), NEAR Protocol (NEAR), NEO (NEO), The Sandbox (SAND), Synthetix Network Token (SNX), Solana (SOL), Theta Token (THETA), Tron (TRX), Uniswap (UNI), VeChain (VET), Stellar Lumens (XLM), Monero (XMR), Ripple (XRP), Tezos (XTZ), and Zcash (ZEC). We have the price series of these assets on the Bitcoin markets; thus, we have a price series where the quote currency is BTC, for example, AAVE/BTC or ADA/BTC markets. These are crypto-assets with the largest market cap, according to https://coinmarketcap.com/ in December 2022, and are traded on the Binance cryptocurrency exchange market.

We have a per-minute price level for 12 months (in 2021) for all crypto-assets considered; thus, each price series includes a closing price of 43,200 (\(30\times 24\times 60=43{,}200\)) minutes (if the month contains 30 days). These real price series are categorized into six groups according to their volatility and trends.

  • Up-trend with high volatility

  • Up-trend with low volatility

  • Down-trend with high volatility

  • Down-trend with low volatility

  • No-trend with high volatility

  • No-trend with low volatility

To classify the series, their volatilities are calculated as follows.

Let \({P_t}\) denote the asset price at time t. Then, \({r_t}=({P_t}- {P_{t-1}})/({P_{t-1}})\) represents simple daily returns on an asset. The standard deviation (\({\sigma }\)) is the most common measure of volatility and is calculated as

$$\begin{aligned} {\sigma }= \sqrt{ \frac{1}{T-1}\sum _{t=1}^{T} |{{\textbf {r}}_t - \mu }|^2} \end{aligned}$$
(1)

where \({\mu }\) is the mean value of \({\textbf {r}}\). By multiplying the standard deviation by the square root of the number of periods (T), volatility (v) is

$$\begin{aligned} {v}=\sigma \sqrt{T}. \end{aligned}$$
(2)

The volatility of the price series is computed using Matlab®, and they are classified as relatively high volatility if the volatility is larger than 50% (or 0.5) and relatively low volatility if the volatility is less than 50%. After the price series are categorized into six subgroups, the Johansen cointegration test is applied to each pair of price series (pairs) in the portfolios. Thus, we apply the HFRA to cointegrated price data for all trends and volatility regimes. The formulation of the Johansen cointegration test is outlined in the following subsection.

The Johansen test and vector error correction model (VECM)

The Johansen test analyzes whether two or more time series can form a cointegrating relationship, and its methodology is based on a vector autoregressive (VAR) model (Johansen 1991). The general form of the VAR model of order p with a constant term is

$$\begin{aligned} {\textbf {x}}_t=\sum _{i=1}^{p} {\textbf {A}}_i {\textbf {x}}_{t-i}+{\varvec{\varepsilon }}_t, \end{aligned}$$
(3)

where \({\textbf {x}}_t\) is an \({m\times 1}\) vector of variables integrated of order one, and \({\varvec{\varepsilon }}_t\) is an \({m\times 1}\) vector of innovations.

By differencing the series Eq. (3) for \(p > 1\), this VAR in levels can be transformed to a vector error correction model given by

$$\begin{aligned} \Delta {\textbf {x}}_t={\varvec{\Pi }} {\textbf {x}}_{t-1}+\sum _{i=1}^{p-1} {\varvec{\Gamma }}_{i} {\varvec{\Delta }}{} {\textbf {x}}_{t-i}+{\varvec{\varepsilon }}_{t}. \end{aligned}$$
(4)

Here, \({\varvec{\Pi }}\) is the coefficient matrix for the first lag and \({\varvec{\Gamma }}\) are the matrices for each differenced lag. If \(p = 1\), then the model is reduced to \(\Delta {\textbf {x}}_t={\varvec{\Pi }} {\textbf {x}}_{t-1}+{\varvec{\varepsilon }}_t\). Matrix \({\varvec{\Pi }}\) can be written in terms of the vector (or matrix) of the adjustment parameters \({\varvec{\alpha }}\) and the vector (or matrix) of cointegrating vectors \({\varvec{\beta }}\) as

$$\begin{aligned} {\varvec{\Pi }}={\varvec{\alpha }}{\varvec{\beta '}}, \end{aligned}$$
(5)

where \({\varvec{\beta }}\) represents the cointegration vectors and \({\varvec{\alpha }}\) represents the effect of each cointegrating vector on the \(\Delta {\textbf {x}}\) variables in the model. The rank of \({\varvec{\Pi }}\) determines the number of independent rows in \({\varvec{\Pi }}\) and the number of cointegration vectors.

The Johansen test’s null hypothesis is \(H_0\): \(r = 0\) indicates no cointegration at all, against the alternative that \(H_1\): \(r > 0\) indicates a cointegration relationship within two or perhaps more time series. The Johansen testing procedure sequentially tests whether \(r = 0, 1,..., {m-1}\), where m is the number of time series being tested.

Five different cases are used to estimate the Johansen test based on Eq. (4). In our case, we test the unrestricted trend, assuming that intercepts and linear trends are present in the cointegrating relations and deterministic quadratic trends are present in the levels of the data. Based on these assumptions, we can rewrite the VECM in Eq. (4) as

$$\begin{aligned} \Delta {\textbf {x}}_t={\varvec{\Gamma }}_{i} {\varvec{\Delta }}{} {\textbf {x}}_{t-i}+{\varvec{\alpha }}({\varvec{\beta }} {\textbf {x}}_{t-1}+{\varvec{\mu }}+{\varvec{\rho } }t)+{\varvec{\gamma }}+{\varvec{\tau }}t+{\varvec{\varepsilon }}_t, \end{aligned}$$
(6)

where \({\varvec{\mu }}\) is an r-by-1 vector of constants (intercepts) in the cointegrating relations (Johansen 1995). \({\varvec{\rho }}\) is an \(r-by-1\) vector of linear time trends in cointegrating relations. \({\varvec{\gamma }}\) is an m-by-1 vector of constants (the deterministic linear trends in \({\textbf {x}}_t\)). \({\varvec{\tau }}\) is an m-by-1 vector of linear time-trend values (deterministic quadratic trends in \({\textbf {x}}_t\)). \({\varvec{\varepsilon }}_t\) is an m-by-1 vector of random Gaussian innovations, each with a mean of 0 and collectively an m-by-m covariance matrix, \({\varvec{\Sigma }}\). For \({t \ne s}\), \({\varvec{\varepsilon }}_t\) and \({\varvec{\varepsilon }}_s\) are independent.

The outcomes of the Johansen cointegration test are calculated using the function jcitest.m provided in the Econometrics Toolbox of Matlab®.

The high frequency rebalancing algorithm (HFRA)

In this study, an algorithmic trading algorithm is constructed to integrate pair-trading and threshold-based rebalancing strategies. For the proposed HFRA, we assume that at the starting point of the trade, we have a portfolio with equally weighted asset allocations. We use an equally weighted asset allocation to simplify the comparison of the profitability of portfolios of various sizes. Thus, all assets in the portfolio have equal value (current price \(\times\) quantity). For example, we have 50 \(P_1\) with price \(0.02\,(50\times 0.02 = 1)\) and 25 \(P_2\) with price \(0.04\,(25\times 0.04 = 1)\). After creating the portfolio, the HFRA is implemented as follows. If the parity (or price difference in percent) of the values of the two assets is higher than a threshold (T), the overvalued asset will be sold and the undervalued asset will be bought to equalize their value to the average value. The optimal threshold value changes according to market parameters (e.g., volatility, price level, or volume) and portfolio size, and in the final part of this study it is revealed that there is not a common optimal threshold value. Therefore, we calculate the average profits of the portfolios when the T value gradually increased from 1 to 20% with 1% step size. We determine this threshold interval (between 1 and 20%) for the markets considered by observing the maximum price jumps in the per-minute market data. As shown in Fig. 1, each asset is denoted by \(P_i\) where \(i=1,2,3,...,n\), and the number of assets in the portfolio can be two (see panel (a)), three (see panel (b)), or more than three (see panel (c)).

Fig. 1
figure 1

HFRA diagram when the portfolio includes a two, b three, and c multiple (n) assets

Importantly, for real trading on exchange markets, traders must pay trading fees (or transaction costs) to execute buy and sell orders. If the threshold value is relatively small, the number of trades increases, and in this case, trading fees become a critical factor that significantly affects profitability (Lang et al. 2011; Woodside-Oriakhi et al. 2013). The trading fee is taken into account as 0.1% (i.e., the taker transaction fee on the Binance cryptocurrency exchange) in the pseudocodes below and the Matlab® script of the HFRA that is given in the Appendix (see Rebalancing_Algorithm.m).

Algorithm 1 presents the pseudocode that implements HFRA when the portfolio includes two assets (\(P_1\) and \(P_2\)). The following definitions are used in the algorithm:

Current price of an asset (\(P_i\)): \(CP_{P_i}\)

Asset quantity (\(P_i\)): \(Q_{P_i}\)

Total value of an asset (\(P_i\)): \(TV_{P_i}\) and \(TV_{P_i}=CP_{P_i} \times Q_{P_i}\)

Threshold for ratio: T

Trading fee: TF

Algorithm 1
figure a

Pseudo code of the HFRA for portfolios with 2 assets

Thus, the Algorithm 1 equalizes the total value of 2 assets when the ratio is higher than a threshold value. When the number of assets in the portfolio exceeds two, Algorithm 2 will be implemented. We assume that the number of assets is n where \(n\ge 2\).

Algorithm 2
figure b

Pseudo code of the HFRA for portfolios with multiple (n) assets

Clearly, Algorithm 1 is a special case of Algorithm 2, which can be obtained when n=2.

To explain the implementation of the HFRA explicitly, it is applied to two price series (assets), as shown in Fig. 2. These series show the per-minute closing price ratios for the AAVE/BTC and AVAX/BTC markets in the first week of 2021. Thus, we have price ratios of 10,080 min that correspond to one week (\(60\times 24\times 7=10{,}080\)). In this simulation and in the remainder of this work, the initial values of the price series are normalized (or fixed) to 1 by dividing all elements of the series by the first element of the series. This adjustment does not change the volatility or trend regime of the price series and facilitates comparison of the price series in the portfolio. To have an equally weighted portfolio of two assets, we assume that we have two crypto-assets (AAVE and AVAX) in the portfolio with the same quantity of one, where the initial price ratio of both assets is set to one. The threshold value (T) is taken as 12%, and with a realistic approach, 0.1% of the trading fee is applied for each buy and sell order.

Fig. 2
figure 2

Application of the HFRA to the AAVE/BTC and AVAX/BTC markets in the first week of 2021. Green and red marks denote executed buy and sell orders, respectively

The HFRA trades 7 times, where the green and red marks indicate consecutively executed buy and sell orders, respectively. While the first asset (AAVE) is sold 3 times and bought 4 times, the second asset (AVAX) is sold 4 times and bought 3 times. At the end of this trade, there are 1.0284 AAVE and 0.9949 AVAX quantities and the final price ratios of AAVE/BTC and AVAX/BTC are 0.9542 and 1.0485, respectively. Thus, the total portfolio value is \(1.0284\times 0.9542+0.9949\times 1.0485=2.0245\). This result reveals that the HFRA provides significant profit (1.225%) in a single week for the markets considered.

Assumptions and limitations

The profit of the HFRA depends on the threshold value T (corresponding to the profit margin), and there is no common optimal threshold for portfolios of varied sizes and different volatility regimes. Thus, we will increase the T value from 1 to 20% gradually with a 1% step size, and the profit of the HFRA will be calculated as the average of the obtained profits. If the maximum parity (or price difference in percentages) for the considered price series was less than 20%, the upper limit for the threshold was selected as the largest parity value. In other words, if there is no trade by the HFRA, the computed profit will not be considered in the calculation of the average profit.

Note here that we assume that the capital size is 1 BTC for each market; thus, the total capital for the HFRA will be the size of the portfolio (n) times 1 BTC. Observing order books on Binance cryptocurrency exchange markets, we see that the buy and sell amounts of current (bid-ask) price levels are larger than 1% of the daily volume of the market considered. Thus, to avoid price impacts on the markets considered for a real portfolio application in exchange markets, the capital for each asset should be less than (1/T) % of the market with the least daily volume. For instance, if the daily market volumes of \(P_1\)/BTC and \(P_2\)/BTC are 30 and 40 BTC, and the threshold (T) is chosen as 0.1 (or 10%), then the capital for each asset should be less than \((1/0.1)\times 30/100=3\) BTC. Otherwise, a potential trading loss can be realized because of the price impact. It is clear that decreasing the threshold value and/or considering high-volume markets reduces the risk of trading loss caused by the price impact. In this direction, for the analysis in this study, the assets in portfolios are selected from the 40 crypto-assets that have the largest market cap, and the threshold value is limited to 20%.

Results and discussion

In this section, we first apply HFRA to real price series (assets) under six different trend and volatility regimes (defined in the previous section), and then demonstrate the practicability of HFRA via real data implementations. For the real price series, the profit of the HFRA will be examined when the portfolio includes 2, 3, and 5 assets (or crypto-currencies).

As we noted in the previous section, to facilitate a comparison of the price series in the portfolio, the initial values of the price series are normalized (or fixed) to 1 by dividing all elements of the series by the first element of the series. This adjustment has no effect on the volatility, trend, or cointegration of the price series or the calculated profits of the portfolios.

Importantly, we apply the Johansen cointegration test to the full sample period (one month) of the price series for each portfolio. Although there is a cointegration relationship according to the full-sample period and the simple moving average approach for varied window sizes (daily, hourly, or per minute), there is no meaningful relationship when examining the cointegration of the series with the rolling and expanding window approaches (Leung and Nguyen 2019; Tadi and Kortchemski 2021). Therefore, we state only the statistics for the full-sample Johansen cointegration test in the remainder of the study. In addition, the HFRA is not a cointegration based pairs trading strategy, and the entry/exit threshold levels can be determined by market-based parameters or risk considerations (Moallemi and Saglam 2015); consequently, the HFRA does not require the calculation of a threshold value according to the cointegration statistics.

For real-data applications, the historical data of 40 crypto-assets (listed in Sec. 2) are utilized. Price series are categorized into six groups according to their volatility and trend regimes, and the Johansen cointegration test is applied to each pair of price series (pairs) in the portfolios.

Up-trend

In Fig. 3, we plot the series of per-minute closing prices of AAVE/BTC, MKR/BTC, SNX/BTC, SOL/BTC, and XLM/BTC markets for January 2021. These series show an up-trend with high volatility, and the price ratios vary between 0.779 and 3.158.

Fig. 3
figure 3

Per-minute closing price ratio of the AAVE/BTC, MKR/BTC, SNX/BTC, SOL/BTC, and XLM/BTC markets in January 2021

The volatility of the price series, p-values of the Johansen cointegration test for all pairs, and profit of the HFRA when the portfolio includes 2, 3, and 5 crypto-assets are shown in Tables 1, 2, 3, 4, and 5, respectively.

Table 1 shows that the volatility values of the series are larger than 0.50 (or 50%); thus, volatility is relatively high for the price series considered. All p-values in Table 2 are less than 0.05, indicating that all price series in the portfolio are cointegrated. The profits of the portfolios of the two crypto-assets are presented in Table 3, which shows that the profits are between 125.64 and 184.98%, and the average profit is 151.5%. Similarly, Table 4 displays the profits of the portfolios of the three crypto-assets, which are between 134.49 and 175.88%, with an average profit of 156.06%. Table 5 shows that the profit of a portfolio with 5 crypto-assets is 160.46%. These results reveal that the average profit of portfolios increases as the number of crypto-assets in the portfolio increases if the asset prices are in an up-trend with relatively high volatility.

Table 1 Price series volatility
Table 2 p values of the Johansen cointegration test (\(r_0, r_1\)) for all pairs
Table 3 Profit of the HFRA with a portfolio of 2 crypto-assets
Table 4 Profit of the HFRA with a portfolio of 3 crypto-assets
Table 5 Profit of the HFRA with a portfolio of 5 crypto-assets

In Fig. 4, we plot the series of per-minute closing prices of AXS/BTC, BNB/BTC, IOTA/BTC, MKR/BTC, and SOL/BTC markets in November 2021. These series show an up-trend with relatively low volatility and the price ratio varies between 0.791 and 1.492.

Fig. 4
figure 4

Per-minute closing price ratio of the AXS/BTC, BNB/BTC, IOTA/BTC, MKR/BTC, and SOL/BTC markets in November 2021

The volatility of price series, p-values of Johansen cointegration test for all pairs, and profit of the HFRA when the portfolio is including 2, 3, and 5 crypto-assets are shown in Tables 6, 7, 8, 9, and 10, respectively.

Table 6 shows that the volatility values of the series are less than 0.50; thus, volatility is relatively low for the price series considered. All p-values in Table 7 are less than 0.05, indicating that all price series in the portfolio are cointegrated. The profits of the portfolios of the two crypto-assets are presented in Table 8, which shows that the profits are between 7.77 and 32.99%, and the average profit is 18.23%. Similarly, Table 9 displays the profits of the portfolios of the three crypto-assets, which are between 9.31 and 25.76%, with an average profit of 18.51%. Table 10 shows that the profit of a portfolio with 5 crypto-assets is 18.70%. These results reveal that although the average profit of portfolios increases as the number of crypto-assets in the portfolio increases, there is no significant difference between profits when asset prices are in an up-trend with relatively low volatility.

Table 6 Price series volatility
Table 7 p-values of the Johansen cointegration test (\(r_0, r_1\)) for all pairs
Table 8 Profit of the HFRA with a portfolio of 2 crypto-assets
Table 9 Profit of the HFRA with a portfolio of 3 crypto-assets
Table 10 Profit of the HFRA with a portfolio of 5 crypto-assets

Down-trend

In Fig. 5, we plot the series of per-minute closing prices of AXS/BTC, CHZ/BTC, FIL/BTC, FTM/BTC, and GRT/BTC markets for May 2021. These series show a down-trend with relatively high volatility, and the price ratio varies between 0.46 and 1.45.

Fig. 5
figure 5

Per-minute closing price ratio of AXS/BTC, CHZ/BTC, FIL/BTC, FTM/BTC, and GRT/BTC markets in May 2021

The volatility of price series, p-values of Johansen cointegration test for all pairs, and loss of the HFRA when the portfolio is including 2, 3, and 5 crypto-assets are shown in Tables 11, 12, 13, 14, and 15, respectively.

Table 11 shows that the volatility values of the series are greater than 0.50; thus, volatility is relatively high for the price series considered. p-values in Table 12 are less than 0.05 for all pairs; therefore, all the price series in the portfolio are cointegrated. The losses of the portfolios of the 2 crypto-assets are presented in Table 13, which shows that the losses are between \(-\)29.63 and \(-\)21.13%, and the average loss is \(-\)25.20%. Similarly, Table 14 displays the losses of the portfolios of 3 crypto-assets that are between \(-\)26.39 and \(-\)21.32%, and the average loss is \(-\)24.07%. Table 15 shows that the loss of the portfolio with 5 crypto-assets is \(-\)23.04%. These results reveal that average portfolio loss decreases as the number of crypto-assets in the portfolio increases.

Table 11 Price series volatility
Table 12 p-values of the Johansen cointegration test (\(r_0, r_1\)) for all pairs
Table 13 Profit of the HFRA with a portfolio of 2 crypto-assets
Table 14 Profit of the HFRA with a portfolio of 3 crypto-assets
Table 15 Profit of the HFRA with a portfolio of 5 crypto-assets

In Fig. 6, we plot the series of per-minute closing prices of ADA/BTC, ALGO/BTC, EOS/BTC, LTC/BTC, and XTZ/BTC markets for July 2021. These series are in a down-trend with relatively low volatility, and the price ratio varies between 0.78 and 1.11.

Fig. 6
figure 6

Per-minute closing price ratio of the ADA/BTC, ALGO/BTC, EOS/BTC, LTC/BTC, and XTZ/BTC markets in July 2021

The volatility of price series, p-values of Johansen cointegration test for all pairs, and loss of the HFRA when the portfolio is including 2, 3, and 5 crypto-assets are shown in Tables 16, 17, 18, 19, and 20, respectively.

Table 16 shows that the volatility of the series are less than 0.50; thus, volatility is relatively low for the price series considered. p-values in Table 17 are less than 0.05 for all pairs; therefore, all the price series in the portfolio are cointegrated. The losses of the portfolios of the two crypto-assets are presented in Table 18, which shows that the losses are between \(-\)20.27 and \(-\)17.06%, and the average loss is \(-\)18.74%. Similarly, Table 19 displays the losses of the portfolios of 3 crypto-assets that are between \(-\)19.78 and \(-\)17.69%, and the average loss is \(-\)18.67%. Table 20 shows that the loss of the portfolio with 5 crypto-assets is \(-\)18.58%. These results indicate that although the average loss of portfolios decreases slightly as the number of crypto-assets in the portfolio increases, there is no significant difference between the losses of portfolios of varied sizes.

Table 16 Price series volatility
Table 17 p-values of the Johansen cointegration test (\(r_0, r_1\)) for all pairs
Table 18 Profit of the HFRA with portfolio of 2 crypto-assets
Table 19 Profit of the HFRA with a portfolio of 3 crypto-assets
Table 20 Profit of the HFRA with a portfolio of 5 crypto-assets

No trend

In Fig. 7, we plot a series of per-minute closing prices for BCH/BTC, DOT/BTC, THETA/BTC, VET/BTC, and ZEC/BTC markets in May 2021. These series have relatively low volatility with no trend, and the price ratio varies between 0.58 and 1.66.

Fig. 7
figure 7

Per-minute closing price ratio of the BCH/BTC, DOT/BTC, THETA/BTC, VET/BTC, and ZEC/BTC markets in May 2021

The volatility of price series, p-values of Johansen cointegration test for all pairs, and profit of the HFRA when the portfolio is including 2, 3, and 5 crypto-assets are shown in Tables 21, 22, 23, 24, and 25, respectively.

Table 21 shows that the volatility values of the series are larger than 0.50; thus, volatility is relatively high for the price series considered. All p-values in Table 22 are less than 0.05, indicating that all price series in the portfolio are cointegrated. The profits of the portfolios of the 2 crypto-assets are presented in Table 23, which shows that the profits are between \(-\)7.86 and 6.58%, and the average profit is \(-\)0.63%. Similarly, Table 24 reports that the profits of the portfolios of 3 crypto-assets that are between \(-\)4.58 and 4.99%, and the average profit is 0.43%. Table 25 shows that the profit of a portfolio with 5 crypto-assets is 1.70%. These results reveal that the average profit of portfolios increases as the number of crypto-assets in the portfolio increases if asset prices have no trend with relatively high volatility.

Table 21 Price series volatility
Table 22 p-values of the Johansen cointegration test (\(r_0, r_1\)) for all pairs
Table 23 Profit of the HFRA with a portfolio of 2 crypto-assets
Table 24 Profit of the HFRA with a portfolio of 3 crypto-assets
Table 25 Profit of the HFRA with a portfolio of 5 crypto-assets

In Fig. 8, we plot the series of per-minute closing prices of the LINK/BTC, LTC/BTC, MKR/BTC, NEO/BTC, and XMR/BTC markets in August 2021. These series have relatively low volatility with no trends, and the price ratio varies between 0.58 and 1.66.

Fig. 8
figure 8

Per-minute closing price ratio of the LINK/BTC, LTC/BTC, MKR/BTC, NEO/BTC, and XMR/BTC markets in August 2021

The volatility of price series, p-values of Johansen cointegration test for all pairs, and profit of the HFRA when the portfolio including 2, 3, and 5 crypto-assets are shown in Tables 26, 27, 28, 29, and 30, respectively.

Table 26 shows that the volatility values of the series are less than 0.50; thus, volatility is relatively low for the price series considered. All p-values in Table 27 are less than 0.05, indicating that all price series in the portfolio are cointegrated. The profits of the portfolios with 2 crypto-assets are presented in Table 28, which shows that the profits are between \(-\)0.40 and 4.15%, and the average profit is 1.67%. Similarly, Table 29 displays the profits of the portfolios of 3 crypto-assets that are between 0.13 and 3.36%, with an average profit of 1.80%. Table 30 shows that the profit of a portfolio with 5 crypto-assets is 1.88%. These results reveal that the average profit of portfolios increases slightly as the number of crypto-assets in the portfolio increases if the asset prices have no trend with relatively low volatility.

Table 26 Price series volatility
Table 27 p-values of the Johansen cointegration test (\(r_0, r_1\)) for all pairs
Table 28 Profit of the HFRA with a portfolio of 2 crypto-assets
Table 29 Profit of the HFRA with a portfolio of 3 crypto-assets
Table 30 Profit of the HFRA with a portfolio of 5 crypto-assets

Long-term application

To demonstrate the profitability of the HFRA on long-term implementations and compare the performance of the HFRA with the previous studies, we implement it for a special portfolio of five crypto-assets with the largest market caps (ADA/BTC, BNB/BTC, DOGE/BTC, ETH/BTC, and XRP/BTC) for the last 28 months. We obtain the per-minute price level of these markets for 28 months (between January 1, 2021, and April 30, 2023) from Binance cryptocurrency exchange and plot the price ratios of these series in Fig. 9.

Fig. 9
figure 9

Per-minute closing price ratio of the ADA/BTC, BNB/BTC, DOGE/BTC, ETH/BTC, and XRP/BTC markets between January 1, 2021 and April 30, 2023 (28 months)

We compare the performance of the HFRA with the TR and PR strategies, which have been studied widely in the literature (DeMiguel et al. 2013; Das et al. 2014; Das and Goyal 2015; Zilinskij 2015; Costabile and Gaudenzi 2017; Symitsi and Chalvatzis 2019; Bernoussi and Rockinger 2022). As explained in the introduction, in the PR approach, assets are rebalanced periodically, such as daily, weekly, monthly, quarterly, or annually. In the TR approach, assets are rebalanced when the weight of an asset in the portfolio exceeds a specific (maximum or minimum) limit, such as 2% or 5%. This threshold can be determined using market-based parameters or risk considerations (Moallemi and Saglam 2015). In the next part of this study, we show that there is no predetermined (optimal) threshold value for the portfolio considered; thus, we compare the performance of HFRA and TR strategies by calculating the average profits for threshold values between 1 and 20%.

Table 31 shows the volatility of the five series between January 1, 2021, and April 30, 2023. The long-term volatility of the price series varied between 0.7720 (77.20%) and 6.2226 (622.26%).

Table 31 Price series volatility for 28 months

In Table 32, the profitability of the HFRA, TR, and PR strategies are compared for an equally weighted portfolio of the five assets over 28 months. We used per-minute closing price data for the HFRA and the daily closing price for the TR algorithm. For the PR strategy, we selected daily, weekly, monthly, quarterly, and yearly intervals. Table 32 shows that the long-term profit of the HFRA outperforms those of the TR and PR strategies for all time intervals. The difference between the profits of the HFRA (1435.01%) and TR (935.04%) strategies indicates that utilizing high-frequency rebalancing (per minute of data) provides a remarkable advantage to the HFRA strategy. There is also no meaningful relationship between profit and the period of rebalancing (daily, weekly, monthly, quarterly, and annually) for the PR strategy.

Table 32 Long-term profits of the HFRA, TR, and PR strategies

To demonstrate the robustness of these results, we compared the daily, weekly, and monthly profits of the HFRA, TR, and PR strategies visually in Fig.  10. Figure 10 shows that the profit of the HFRA is higher than TR and PR strategies for all time periods considered.

Fig. 10
figure 10

Profit of the HFRA, TR, and PR strategies from a long-term application between January 1, 2021 and April 30, 2023 for various periods (daily, weekly, and monthly)

To demonstrate the importance of high-frequency data, we apply the HFRA to the price data of various periods (1, 2, and 5 min) in Fig. 11 and compare the daily, weekly, and monthly profits. Using the per-minute closing price of the markets provides the best profitability (see the blue line in each panel), while the smallest profit is obtained using 5 min closing price of the markets (see the black dots in each panel). This reveals that the frequency of the price data plays a critical role in threshold-based rebalancing strategies, and as the frequency of the data increases, the profitability of the HFRA increases.

Fig. 11
figure 11

Profit of the HFRA from a long-term application between January 1, 2021 and April 30, 2023 for various periods (daily, weekly, and monthly) when the price data period is 1, 2, and 5 min

In addition, we apply a permutation test to the long-term profits of HFRA, TR, and PR strategies to show that we obtain statistically significant higher returns using the HFRA. In Table 33, we report the one-sided p-values for the Fisher–Pitman permutation tests  (Fisher 1935; Pitman 1937), which test for the difference between the means of the two independent samples. The one-sided null hypothesis states that the mean of the first distribution is not higher than that of the second.

Table 33 p-Values of the permutation test for the long-term application of the HFRA, TR, and PR strategies

The output in the first row of Table 33 shows that we can reject the null hypothesis that the return on the HFRA strategy is no higher than that on the TR strategy for all periods (daily, weekly, and monthly). In addition, in the second row, the null hypothesis that the return of the HFRA strategy is no higher than the return of the PR can be rejected, revealing that the HFRA strategy provides larger returns than the PR strategy for all periods. The final null hypothesis is that the return from the TR strategy is no higher than that from the PR strategy. As the p-values of the daily and monthly statistics were 0.0848 and 0.3776, respectively, and these values were greater than the significance level of 0.05, we failed to reject the null hypothesis. This result indicates that there is no significant difference between the returns of the two strategies. However, we find evidence that the TR strategy is characterized by greater returns than the PR strategy on a weekly basis.

Furthermore, the average number of trades for the HFRA and TR strategies are compared in Fig. 12 over 28 months. This analysis does not include the PR strategy because the number of trades is predetermined in PR, such as daily or weekly trades. In Fig. 12, the number of trades for each threshold value is calculated as the average number of trades during 28 months. For example, when the threshold is 4%, the average number of trades per month is 120 and 13 for the HFRA and TR strategies, respectively. The box plot inside shows a magnified portion of the original figure for threshold values between 10 and 20%. Figure 12 reveals that the number of trades, and consequently, the number of rebalances, for the HFRA is greater than the TR strategy for all threshold values, and as the threshold decreases, the difference between the number of trades increases.

Fig. 12
figure 12

Average number of trades per month for each threshold between January 1, 2021 and April 30, 2023

that there is not an optimal threshold (or profit margin) value for the HFRA strategy.

Finally, we show that there is no optimal threshold (or profit margin) for the HFRA strategy. In Fig. 13a, the optimal threshold and corresponding maximum profit are plotted for 28 months between January 1, 2021, and April 30, 2023. Similarly, the relationship between the average volatility of the five crypto-assets and the threshold is shown in Fig. 13b. This analysis reveals no meaningful relationship between the threshold and volatility of the portfolio considered. Thus, there is no practical way to determine (or predict) the optimal threshold value using existing parameters. Therefore, the profit of the HFRA is calculated as the average profit of the algorithm when the threshold is iterated from 1 to the 20%.

Fig. 13
figure 13

Optimal threshold (profit margin) versus a maximum profit and b average volatility of 5 crypto-assets for the 28 months between January 1, 2021 and April 30, 2023

Conclusion

In this study, the HFRA, which rebalances asset allocation in a portfolio by pairs trading, is proposed and applied to a real dataset to select the optimal portfolio size according to the trend and volatility information of cointegrated price data. This dataset includes the per-minute closing price ratio of 40 crypto-assets from the Binance Exchange for 2021. The numerical results of the application are systematically presented for six different trends and volatility regimes. These regimes are up-trend with high volatility, up-trend with low volatility, down-trend with high volatility, down-trend with low volatility, no-trend with high volatility, and no-trend with low volatility.

Using a real data set, it is observed that increasing the number of assets in a portfolio assists the profitability of the HFRA for all trend regimes with high volatility. For low-volatility regimes, although increasing portfolio size marginally enhances the HFRA’s profitability, the profits of portfolios of varied sizes do not significantly differ. Additionally, when volatility is relatively high and the trend is upward, HFRA can provide a substantial return via large portfolios. In addition, the outcomes of real price series applications reveal that increasing the number of assets in a portfolio lessens the potential loss of the HFRA for down-trends with a high volatility regime.

To demonstrate the profitability of a long-term implementation of the HFRA and compare its performance with that of the TR and PR strategies, which are common in practice for investment portfolios (DeMiguel et al. 2013; Das et al. 2014; Das and Goyal 2015; Zilinskij 2015; Costabile and Gaudenzi 2017; Symitsi and Chalvatzis 2019), we implement it to a special portfolio of five crypto-assets that are of the largest market cap (ADA/BTC, BNB/BTC, DOGE/BTC, ETH/BTC and XRP/BTC) for the last 28 months (between January 1, 2021 and April 30, 2023). The comparisons show that HFRA outperforms the TR and PR strategies over long-term implementation. This result is supported by visual analysis and validated statistically using Fisher–Pitman permutation test. These comparisons indicate that the use of high-frequency data in the HFRA creates a remarkable difference in the profitability of the rebalancing approach.

The final part of the study showed the lack of a meaningful relationship between the optimal threshold (or profit margin) value and the volatility of the crypto-assets thus, it is not possible to predetermine (or predict) an appropriate threshold for a portfolio with existing parameters.

In light of the analysis in this study, it can be concluded that extending the portfolio size improves the profitability (or reduces the risk of loss) of the proposed algorithm for cointegrated price data, regardless of the trend and volatility regimes. These findings are in accordance with those of (Liang et al. 2020; Lin et al. 2021; Figá-Talamanca et al. 2021; Tadi and Kortchemski 2021), who demonstrated that the diversification of portfolios with multi-asset pairs enhances the profitability of pairs trading strategies.

Importantly, as other prior studies already reported (Tadi and Kortchemski 2021; Bouri et al. 2019; Kaya Soylu et al. 2020; Figá-Talamanca et al. 2021), crypto-assets are highly volatile, which indicates that the suggested HFRA strategy can yield reasonable profits via the practical implementation of cryptocurrency exchange markets. Furthermore, both the HFRA and the optimal portfolio selection procedure are independent of the exchange market; thus, they can be applied to any stock exchange market under appropriate trends and volatility regimes.

The main limitation of this study is that portfolios of various sizes are constructed by including price series with similar trends and volatility characteristics, such as upward trends with high volatility. Another limitation is the determination of the capital size for each asset in the portfolio. If capital size exceeds the trading volume capacity of a market, there will be a price impact that can cause liquidation, and consequently, trading losses. This issue can be circumvented by determining capital according to the daily trading volume of the assets in a portfolio. In addition, selecting a low threshold and/or considering high-volume markets reduce the risk of trading losses emerging from price impacts.

Future research using a different approach can make the portfolio selection process independent of the trend and/or volatility dynamics of the associated price series. Moreover, the profitability of the HFRA can be improved by determining the optimal threshold (or profit margin) using volatility and/or trend information and new methodologies in future studies.

Availability of data and materials

The real dataset used in this study is publicly available on Binance cryptocurrency exchange market (https://www.binance.com), and a sample experimental dataset is available on Google Drive [here]. The datasets used and/or analyzed in the current study are available from the corresponding author upon reasonable request.

Abbreviations

HFRA:

High-frequency rebalancing algorithm

PR:

Periodic rebalancing

TR:

Threshold rebalancing algorithm

AT:

Algorithm trading

HFT:

High-frequency trading

ML:

Machine learning

SVM:

Support vector machine

VECM:

Vector error-correction model

VAR:

Vector autoregressive

References

  • Atsalakis GS, Atsalaki IG, Pasiouras F, Zopounidis C (2019) Bitcoin price forecasting with neuro-fuzzy techniques. Eur J Oper Res 276(2):770–780

    Article  MathSciNet  Google Scholar 

  • Avellaneda M, Lee JH (2010) Statistical arbitrage in the us equities market. Quant Finance 10(7):761–782

    Article  MathSciNet  Google Scholar 

  • Bağcı M (2021) A data-driven machine learning algorithm for financial market prediction. In: Bayram M (ed) Proceedings of 9th international conference on applied analysis and mathematical modelling: 11–13 June 2021; Istanbul, Turkey, pp 38–43. https://doi.org/10.20852/ntmsci.2021.42

  • Bains P, Ismail A, Melo F, Sugimoto N (2022) Regulating the crypto ecosystem: the case of unbacked crypto assets. FinTech Notes 2022(007)

  • Baur DG, Dimpfl T (2021) The volatility of bitcoin and its role as a medium of exchange and a store of value. Empir Econ 61:2663–2683

    Article  PubMed  PubMed Central  Google Scholar 

  • Bernoussi RE, Rockinger M (2022) Rebalancing with transaction costs: theory, simulations, and actual data. Finan Market Portf Manag 37:121–160. https://doi.org/10.1007/s11408-022-00419-6

    Article  Google Scholar 

  • Binance (2022) Binance cryptocurrency exchange. Accessed 16 Dec 2022. https://www.binance.com/en/markets

  • Binance (2023) Trading bots. Accessed 14 June 2023. https://www.binance.com/en/trading-bots/

  • Bouri E, Gil-Alana LA, Gupta R, Roubaud D (2019) Modelling long memory volatility in the bitcoin market: evidence of persistence and structural breaks. Int J Finance Econ 24(1):412–426

    Article  Google Scholar 

  • Cartea A, Jaimungal S (2013) Modelling asset prices for algorithmic and high-frequency trading. Appl Math Finance 20(6):512–547

    Article  MathSciNet  Google Scholar 

  • Cartea Á, Jaimungal S, Penalva J (2015) Algorithmic and high-frequency trading. Cambridge University Press, Cambridge

    Google Scholar 

  • Chaboud AP, Chiquoine B, Hjalmarsson E, Vega C (2014) Rise of the machines: algorithmic trading in the foreign exchange market. J Finance 69(5):2045–2084

    Article  Google Scholar 

  • Cohen G (2021) Optimizing algorithmic strategies for trading bitcoin. Comput Econ 57(2):639–654

    Article  Google Scholar 

  • Costabile M, Gaudenzi M (2017) Fair evaluation of life insurance policies with periodic rebalancing between asset portfolios and interest rate guarantee. Appl Math Sci 11:3033–3050

    Google Scholar 

  • Das SR, Goyal M (2015) Computing optimal rebalance frequency for log-optimal portfolios in linear time. Quant Finance 15(7):1191–1204. https://doi.org/10.1080/14697688.2014.926020

    Article  MathSciNet  Google Scholar 

  • Das SR, Kaznachey D, Goyal M (2014) Computing optimal rebalance frequency for log-optimal portfolios. Quant Finance 14(8):1489–1502. https://doi.org/10.1080/14697688.2014.887219

    Article  MathSciNet  Google Scholar 

  • Dayanandan A, Lam M (2015) Portfolio rebalancing: hype or hope? J Bus Inq 14(2):79–92

    Google Scholar 

  • DeMiguel V, Garlappi L, Uppal R (2009) Optimal versus Naive diversification: how inefficient is the 1/n portfolio strategy? Rev Financ Stud 22(5):1915–1953

    Article  Google Scholar 

  • DeMiguel V, Plyakha Y, Uppal R, Vilkov G (2013) Improving portfolio selection using option-implied volatility and skewness. J Financ Quant Anal 48(6):1813–1845. https://doi.org/10.1017/S0022109013000616

    Article  Google Scholar 

  • Dong Y, Boutaba R (2019) Elasticoin: low-volatility cryptocurrency with proofs of sequential work. In: 2019 IEEE international conference on blockchain and cryptocurrency (ICBC), pp 205–209

  • Elliott RJ, Van Der Hoek J, Malcolm WP (2005) Pairs trading. Quant Finance 5(3):271–276

    Article  MathSciNet  Google Scholar 

  • European Central Bank BS (2019) Algorithmic trading: trends and existing regulation. Accessed 3 Oct 2022. https://www.bankingsupervision.europa.eu/press/publications/newsletter/2019/html/ssm.nl190213_5.en.html

  • Fang F, Ventre C, Basios M, Kanthan L, Martinez-Rego D, Wu F, Li L (2022) Cryptocurrency trading: a comprehensive survey. Financ Innov 8(1):1–59

    Article  Google Scholar 

  • Figá-Talamanca G, Focardi S, Patacca M (2021) Common dynamic factors for cryptocurrencies and multiple pair-trading statistical arbitrages. Decis Econ Finance 44(2):863–882

    Article  Google Scholar 

  • Fisher R (1935) The design of experiments. Oliver and Boyd, Edinburgh

    Google Scholar 

  • Gatev E, Goetzmann WN, Rouwenhorst KG (2006) Pairs trading: performance of a relative-value arbitrage rule. Rev Financ Stud 19(3):797–827

    Article  Google Scholar 

  • Grobys K, Junttila J, Kolari JW, Sapkota N (2021) On the stability of stablecoins. J Empir Finance 64:207–223

    Article  Google Scholar 

  • Guindy MA (2021) Cryptocurrency price volatility and investor attention. Int Rev Econ Finance 76:556–570

    Article  Google Scholar 

  • Gupta P, Mittal G, Mehlawat MK (2012) A multicriteria optimization model of portfolio rebalancing with transaction costs in fuzzy environment. Memet Comput 6:61–74

    Article  Google Scholar 

  • Hodson M, Ruck B, Ong H, Garvin D, Dulman S (2019) Portfolio rebalancing experiments using the quantum alternating operator ansatz. arXiv Quantum Physics

  • Horn M, Oehler A (2020) Automated portfolio rebalancing: automatic erosion of investment performance? J Asset Manag 21:489–505

    Article  Google Scholar 

  • Huck N (2009) Pairs selection and outranking: an application to the s &p 100 index. Eur J Oper Res 196(2):819–825

    Article  Google Scholar 

  • Jain A, Jain C, Jiang CX (2021) Active trading in etfs: the role of high-frequency algorithmic trading. Financ Anal J 77(2):66–82. https://doi.org/10.1080/0015198X.2020.1865694

    Article  Google Scholar 

  • Jiang Z, Liang J (2017) Cryptocurrency portfolio management with deep reinforcement learning. In: 2017 Intelligent systems conference (IntelliSys). IEEE, pp 905–913

  • Johansen S (1991) Estimation and hypothesis testing of cointegration vectors in Gaussian vector autoregressive models. Econometrica 59(6): 1551–1580. https://www.jstor.org/stable/2938278

  • Johansen S (1995) Likelihood-based inference in cointegrated vector autoregressive models. OUP, Oxford

    Book  Google Scholar 

  • Jung J, Kim S (2017) Developing a dynamic portfolio selection model with a self-adjusted rebalancing method. J Oper Res Soc 68:766–779

    Article  Google Scholar 

  • Jurek JW, Yang H (2007) Dynamic portfolio selection in arbitrage. In: EFA 2006 meetings paper

  • Kaya Soylu P, Okur M, Çatıkkaş Ö, Altıntığ ZA (2020) Long memory in the volatility of selected cryptocurrencies: bitcoin, ethereum and ripple. J Risk Financ Manag. https://doi.org/10.3390/jrfm13060107

    Article  Google Scholar 

  • Konrad F, Philip T (1994) Intelligent systems in finance. Appl Math Finance 1(2):195–207. https://doi.org/10.1080/13504869400000011

    Article  Google Scholar 

  • Krauss C (2017) Statistical arbitrage pairs trading strategies: review and outlook. J Econ Surv 31(2):513–545

    Article  Google Scholar 

  • Kucoin (2023) Trading bots. Accessed 14 June 2023. https://www.kucoin.com/trading-bot/rebalance

  • Lang M, Lins KV, Maffett M (2011) Transparency, liquidity, and valuation: international evidence on when transparency matters most. Kenan Institute of Private Enterprise Research Paper Series

  • Leung T, Nguyen H (2019) Constructing cointegrated cryptocurrency portfolios for statistical arbitrage. Stud Econ Finance 36(3):581–599. https://doi.org/10.2139/ssrn.3235890

    Article  Google Scholar 

  • Liang Y, Thavaneswaran A, Yu N, Hoque ME, Thulasiram RK (2020) Dynamic data science applications in optimal profit algorithmic trading. In: 2020 IEEE 44th annual computers, software, and applications conference (COMPSAC). IEEE, pp 1314–1319

  • Lim QYE, Cao Q, Quek HC (2021) Dynamic portfolio rebalancing through reinforcement learning. Neural Comput Appl 34:7125–7139

    Article  Google Scholar 

  • Lin TY, Chen CW, Syu FY (2021) Multi-asset pair-trading strategy: a statistical learning approach. N Am J Econ Finance 55(101):295

    Google Scholar 

  • Liu S, Leitao A, Borovykh A, Oosterlee CW (2021) On a neural network to extract implied information from American options. Appl Math Finance 28(5):449–475. https://doi.org/10.1080/1350486X.2022.2097099

    Article  MathSciNet  Google Scholar 

  • Madan I, Saluja S, Zhao A (2015) Automated bitcoin trading via machine learning algorithms. http://cs229 stanford edu/proj2014/Isaac% 20Madan20

  • Mattei MD (2018) Enhanced portfolio performance using a momentum approach to annual rebalancing. Int J Financ Stud 6:1–9

    Article  Google Scholar 

  • McNally S, Roche J, Caton S (2018) Predicting the price of bitcoin using machine learning. In: 2018 26th euromicro international conference on parallel, distributed and network-based processing (PDP). IEEE, pp 339–343

  • Mittal G, Mehlawat MK (2014) A multiobjective portfolio rebalancing model incorporating transaction costs based on incremental discounts. Optimization 63:1595–1613

    Article  MathSciNet  Google Scholar 

  • Moallemi CC, Saglam M (2015) Dynamic portfolio choice with linear rebalancing rules. J Financ Quant Anal 52:1247–1278

    Article  Google Scholar 

  • Nakamoto S (2008) Bitcoin: a peer-to-peer electronic cash system. Decentralized business review p 21260

  • Pitman EJ (1937) Significance tests which may be applied to samples from any populations. Suppl J R Stat Soc 4(1):119–130

    Article  Google Scholar 

  • Rachedi O (2018) Portfolio rebalancing and asset pricing with heterogeneous inattention. Int Econ Rev 59(2):699–726

    Article  MathSciNet  Google Scholar 

  • Rad H, Low RKY, Faff R (2016) The profitability of pairs trading strategies: distance, cointegration and copula methods. Quant Finance 16(10):1541–1558

    Article  MathSciNet  Google Scholar 

  • Romero Ugarte JL (2018) Distributed ledger technology (dlt): introduction. Banco de Espana Article 19:18

    Google Scholar 

  • Sebastião H, Godinho P (2021) Forecasting and trading cryptocurrencies with machine learning under changing market conditions. Financ Innov 7(1):1–30

    Article  Google Scholar 

  • Ślepaczuk R, Zenkova M (2018) Robustness of support vector machines in algorithmic trading on cryptocurrency market. Cent Eur Econ J 5(52):186–205

    Article  Google Scholar 

  • Statista (2023) Quantity of cryptocurrencies as of February 2, 2023. Accessed 15 May 2023. https://www.statista.com/statistics/863917/number-crypto-coins-tokens/

  • Symitsi E, Chalvatzis KJ (2019) The economic value of bitcoin: a portfolio analysis of currencies, gold, oil and stocks. Res Int Bus Finance 48:97–110

    Article  Google Scholar 

  • Tadi M, Kortchemski I (2021) Evaluation of dynamic cointegration-based pairs trading strategy in the cryptocurrency market. Stud Econ Finance 38(5):1054–1075. https://doi.org/10.1108/SEF-12-2020-0497

    Article  Google Scholar 

  • Vidyamurthy G (2004) Pairs trading: quantitative methods and analysis, vol 217. Wiley, Hoboken

    Google Scholar 

  • Virgilio GPM (2022) A theory of very short-time price change: security price drivers in times of high-frequency trading. Financ Innov 8:1–34

    Article  Google Scholar 

  • Vo A, Yost-Bremm C (2020) A high-frequency algorithmic trading strategy for cryptocurrency. J Comput Inf Syst 60(6):555–568

    Google Scholar 

  • Wang M, Li C, Xue H, Xu F (2014) A new portfolio rebalancing model with transaction costs. J Appl Math 2014:942,374:1–942,374:7

  • Woodside-Oriakhi M, Lucas C, Beasley JE (2013) Portfolio rebalancing with an investment horizon and transaction costs. Omega 41:406–420

    Article  Google Scholar 

  • Yu JR, Chiou WJP, Hung CH, Dong WK, Chang YH (2022) Dynamic rebalancing portfolio models with analyses of investor sentiment. Int Rev Econ Finance 77(C):1-13

  • Zbikowski K (2016) Application of machine learning algorithms for bitcoin automated trading. In: Machine intelligence and big data in industry. Springer, pp 161–168

  • Zhang Z, Lim B, Zohren S (2021) Deep learning for market by order data. Appl Math Finance 28(1):79–95. https://doi.org/10.1080/1350486X.2021.1967767

    Article  MathSciNet  Google Scholar 

  • Zhao Z, Xu F, Du D, Meihua W (2021) Robust portfolio rebalancing with cardinality and diversification constraints. Quant Finance 21:1707–1721

    Article  MathSciNet  Google Scholar 

  • Zilbering Y, Jaconetti CM, Kinniry FM Jr (2015) Best practices for portfolio rebalancing. Valley Forge, Pa: The Vanguard Group Vanguard Research PO Box 2600(19):482–2600

  • Zilinskij G (2015) Investment portfolio rebalancing decision making. Europ Sci J 11(6):61-69. https://eujournal.org/index.php/esj/article/view/5209

Download references

Acknowledgements

Not applicable.

Funding

No funding was received for this study.

Author information

Authors and Affiliations

Authors

Contributions

MB carried out the methodology and analysis of the research, and drafted the manuscript. PKS prepared the literature review and contributed to the writing and organization of the manuscript. All the authors read and approved the final version of the manuscript.

Corresponding author

Correspondence to Mahmut Bağcı.

Ethics declarations

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix

Appendix

See the Matlab script file \(Rebalancing\_Algorithm.m\).

figure c

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Bağcı, M., Soylu, P.K. Optimal portfolio selection with volatility information for a high frequency rebalancing algorithm. Financ Innov 10, 107 (2024). https://doi.org/10.1186/s40854-023-00590-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s40854-023-00590-3

Keywords