Previous Article in Journal
Trends and New Developments in FinTech
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multiscale Stochastic Models for Bitcoin: Fractional Brownian Motion and Duration-Based Approaches

by
Arthur Rodrigues Pereira de Carvalho
1,
Felipe Quintino
1,
Helton Saulo
1,
Luan C. S. M. Ozelim
2,*,
Tiago A. da Fonseca
3 and
Pushpa N. Rathie
1
1
Department of Statistics, University of Brasília, Brasília 70910-900, DF, Brazil
2
Department of Civil and Environmental Engineering, University of Brasília, Brasília 70910-900, DF, Brazil
3
Gama Engineering College, University of Brasília, Brasília 72444-240, DF, Brazil
*
Author to whom correspondence should be addressed.
FinTech 2025, 4(3), 51; https://doi.org/10.3390/fintech4030051
Submission received: 13 July 2025 / Revised: 5 September 2025 / Accepted: 14 September 2025 / Published: 19 September 2025

Abstract

This study introduces and evaluates stochastic models to describe Bitcoin price dynamics at different time scales, using daily data from January 2019 to December 2024 and intraday data from 20 January 2025. In the daily analysis, models based on are introduced to capture long memory, paired with both constant-volatility (CONST) and stochastic-volatility specifications via the Cox–Ingersoll–Ross (CIR) process. The novel family of models is based on Generalized Ornstein–Uhlenbeck processes with a fluctuating exponential trend (GOU-FE), which are modified to account for multiplicative fBm noise. Traditional Geometric Brownian Motion processes (GFBM) with either constant or stochastic volatilities are employed as benchmarks for comparative analysis, bringing the total number of evaluated models to four: GFBM-CONST, GFBM-CIR, GOUFE-CONST, and GOUFE-CIR models. Estimation by numerical optimization and evaluation through error metrics, information criteria (AIC, BIC, and EDC), and 95% Expected Shortfall (ES95) indicated better fit for the stochastic-volatility models (GOUFE-CIR and GFBM-CIR) and the lowest tail-risk for GOUFE-CIR, although residual analysis revealed heteroscedasticity and non-normality. For intraday data, Exponential, Weibull, and Generalized Gamma Autoregressive Conditional Duration (ACD) models, with adjustments for intraday patterns, were applied to model the time between transactions. Results showed that the ACD models effectively capture duration clustering, with the Generalized Gamma version exhibiting superior fit according to the Cox–Snell residual-based analysis and other metrics (AIC, BIC, and mean-squared error). Overall, this work advances the modeling of Bitcoin prices by rigorously applying and comparing stochastic frameworks across temporal scales, highlighting the critical roles of long memory, stochastic volatility, and intraday dynamics in understanding the behavior of this digital asset.
JEL Classification:
C02; C13; C14; C15; C41; C52

1. Introduction

In recent years, Bitcoin has emerged as one of the most prominent financial assets. This digital currency was introduced in 2009 by Satoshi Nakamoto [1] and is based on blockchain technology—a digital ledger in which all transactions are securely and transparently recorded. Transactions are carried out in a decentralized manner, meaning they do not rely on intermediaries such as banks or governments. Instead, value is transferred directly between users via digital wallets. These transactions must be verified and recorded on the blockchain through a process known as mining, in which mathematical computations are performed to validate transactions and sequentially add new blocks to the blockchain, thereby ensuring data security and integrity [2]. The literature reveals that there is a growing interest in Bitcoin-related topics, with high quality research [3] being produced on diverse fields, such as safe haven, internet of things (IoT), proof of work (PoW), market efficiency, sentiment analysis, digital currency, and privacy [4].
Unlike traditional currencies, Bitcoin operates continuously, 24 h a day, 7 days a week, and has a maximum supply capped at 21 million units in circulation. This structure results in high liquidity, volatility, and scarcity in the market. In this context, its limited supply and the absence of a regulatory authority contribute to its high volatility, making it an asset that draws the attention of both investors and researchers [5].
Thus, Bitcoin represents a currency that transcends traditional financial markets, while still being influenced by global events such as economic crises and regulatory changes. In some cases, it is even employed as a hedge against inflation in countries with unstable economies. Studies have shown that the inherent unpredictability of Bitcoin prices exhibits a complex, recurring pattern over time, indicating a phenomenon known as long memory, meaning that current prices may be influenced by past market movements [6].
A deep understanding of Bitcoin’s volatility is essential across multiple areas of the financial sector, from asset pricing and portfolio risk assessment to the formulation of robust investment strategies. However, forecasting risk measures for cryptocurrencies—such as Value-at-Risk (VaR) and Expected Shortfall (ES)—poses significant challenges due to their inherent characteristics, including high volatility, extreme price movements, and periods of intense market turbulence [7]. To address these challenges, statistical tools, such as heavy-tailed distributions [8,9], have been applied. In particular, special attention has been devoted to models based on fractional Brownian motion (fBm) [6,10], aiming to elucidate the underlying dynamics of Bitcoin.
Moreover, the analysis of high-frequency financial data has proven essential for understanding market dynamics and formulating more effective investment strategies. In this regard, autoregressive conditional duration (ACD) models, as proposed by [11], offer a robust framework for modeling the time between transactions, particularly in irregular datasets such as those found in cryptocurrencies. Although widely used in financial markets to assess transaction intensity and duration dynamics, these models remain underexplored in the context of Bitcoin, despite their relevance for analyzing price risk and market microstructure [12].
The goal of this paper is to propose a new class of processes driven by fBm, capable of modeling the daily prices of Bitcoin and its volatility, and to apply ACD models to analyze the price durations. Aiming to identify temporal and seasonal patterns that contribute to Bitcoin’s market behavior, the following specific objectives are addressed:
  • Identify and describe the long-memory patterns present in Bitcoin’s daily price history.
  • Incorporate stochastic volatility into the models proposed by [13], analyzing its impact on forecasting accuracy.
  • Conduct a comparative analysis of different stochastic price models.
  • Perform an intraday analysis of Bitcoin price durations using the ACD model.
The rest of this paper is organized as follows. In Section 2, we present stochastic differential equations and Generalized Ornstein–Uhlenbeck processes with a fluctuating exponential trend (GOU-FE processes) driven by fBm. In Section 3, we discuss ACD models and their variants as a tool to allow for intraday price analysis. In Section 4, we discuss a Bitcoin price modeling application, and we present the concluding remarks in Section 5.

2. The GOU-FE Process Driven by fBm

Models based on stochastic differential equations (SDEs) have been widely used to analyze financial data (see, for example [14,15], and the references therein). More recently, considerable interest has arisen in models with memory effects, where non-Markovian drift plays a significant role. An important example of SDE is the generalized Langevin equation (GLE), proposed by [16,17]. In this SDE, the drift component considers the evolution of the process up to a considered time.
Results on the existence and uniqueness of solutions for certain classes of the GLE were obtained by [18,19,20]. Over the last two decades, numerous authors have further explored theoretical aspects and applications of the GLE, including [21,22,23,24,25,26].
Issues concerning statistical estimation for the drift term of the GLE are important to better fit the mathematical model to the potential real data aimed to be modeled. They allow us to make predictions about future events within the modeled time series, using accumulated information over time. In this sense, ref. [13] studied drift estimation for the three-parameter Generalized Ornstein–Uhlenbeck process with a fluctuating exponential trend (GOU-FE), which is a solution process of the following class of the GLE:
d X ( t ) = θ 1 ( 1 θ 3 ) X ( t ) 0 t X ( s ) Γ θ ( t s ) d s d t + d N ( t ) , t > 0 ,
where X ( 0 ) = X 0 is independent of the noise N ( t ) , and, for the drift parameter θ   = ( θ 1 , θ 2 , θ 3 ) , Γ θ ( t ) is defined by
Γ θ ( t ) = e t θ 1 θ 3 / 2 κ 1 cos ( ν t ) + κ 2 , 1 sin ( ν t ) , ν > 0 , e t θ 1 θ 3 / 2 κ 1 cosh ( ν t ) + κ 2 , 1 sinh ( ν t ) , ν < 0 , e t θ 1 θ 3 / 2 κ 1 + κ 2 , 0 t , ν = 0 ,
for explicit constants ν = ν ( θ ) , κ 1 = κ 1 ( θ ) , and κ 2 , j = κ 2 , j ( θ ) , j = 1 , 0 , 1 , given by the following:
ν 0 = θ 1 θ 3 / 2 , ν = ν 0 2 + θ 2 2 ( 1 θ 3 ) , κ 1 = θ 2 2 θ 3 2 θ 1 ( 1 θ 3 ) ν 0 , κ 2 , 1 = 1 ν θ 1 θ 2 2 ν 0 θ 2 2 θ 3 θ 1 ( 1 θ 3 ) 2 ν 0 θ 1 ( 1 θ 3 ) ν 0 2 + ν , κ 2 , 1 = 1 ν θ 1 θ 2 2 ν 0 θ 2 2 θ 3 θ 1 ( 1 θ 3 ) 2 ν 0 θ 1 ( 1 θ 3 ) ν 0 2 ν , κ 2 , 0 = θ 1 θ 2 2 ν 0 θ 2 2 θ 3 θ 1 ( 1 θ 3 ) 2 ν 0 θ 1 ( 1 θ 3 ) ν 0 2 .
Here, the parameter space can be Θ = ( 0 , ) 2 × [ 0 , 1 ] . Depending on the desired properties of X or the estimators, the space may be restricted to some Θ 0 Θ .
Ref. [13] considered N ( t ) = L ( t ) being a Lévy process with a finite second moment (or α -stable, 1 < α 2 ).
For the classical Langevin equation, given as
d X ( t ) = θ X ( t ) d t + d L ( t ) , t > 0 , X ( 0 ) = X 0 ,
it’s known that the Ornstein–Uhlenbeck process is its solution and can be obtained if we take θ 3 = 0 in (1). On the other hand, if we take θ 3 = 1 , we get the GLE
d X ( t ) = θ 2 0 t X ( s ) d s d t + d L ( t ) , t > 0 , X ( 0 ) = X 0 , θ R ,
whose Cosine process (proposed by [27]) is the solution. That means θ 3 is a kind of “weight” between a stationary and ergodic Markovian process and a non-Markovian and non-stationary process (the Cosine process). Then, it is natural to think that θ 3 plays an important role in the quality of parameter estimation.
In this study, we are interested in investigating the GOU-FE process with multiplicative fBm noise. For the reader’s convenience, the definition of fBm is presented below.
Definition 1.
We say that B H = { B H ( t ) ; t 0 } is a fractional Brownian motion (fBm) with Hurst parameter H ( 0 , 1 ) if it is a centered Gaussian process with the covariance function
R H ( t , s ) = 1 2 s 2 H + t 2 H | t s | 2 H .
A natural question is whether we can adapt the model proposed by [13] to a GLE with the same drift as (1) but driven by multiplicative fBm N ( t ) = B H ( t ) . This led us to propose a more general class of models:
d X ( t ) = θ 1 ( 1 θ 3 ) X ( t ) 0 t X ( s ) Γ θ ( t s ) d s d t + σ ( X ( t ) ) d B H ( t ) , t > 0 , X ( 0 ) = X 0 .
Oscillating decays were observed in the autocorrelation functions for both the Cosine process (cf. [27]) and the GOU-FE (cf. [13]), unlike the classical Langevin equation, which has exponential decay. This suggests that the GOU-FE processes, as defined in (1), are capable of modeling an autoregressive time series of an order higher than 1. In summary, the introduction σ ( X ( t ) ) in the noise of the GOU-FE process (1) allows us to enhance the control of the volatility of the process. This impacts the quality of data modeling via (3).
Our approach has potential applications in various fields. One such application is in the modeling of anomalous diffusion based on the GLE. This phenomenon is observed in certain physical systems (cf. [20] and the references therein). Another significant application of our approach is in the modeling of financial assets using the GLE.
As a benchmark, we shall consider the traditional Geometric Brownian Motion process with either constant or stochastic volatilities (defined as σ ( t ) ):
d X ( t ) = μ X ( t ) d t + σ ( t ) X ( t ) d W ( t ) , t > 0 , X ( 0 ) = X 0 ,
and W ( t ) is a Brownian motion.

2.1. Stochastic Volatility Model

For this study, we adopt the Cox–Ingersoll–Ross (CIR) process, as originally proposed by [14], for  Y ( t ) = σ ( X ( t ) ) . This process is characterized by the following stochastic differential equation (SDE):
d Y ( t ) = κ ( ω Y ( t ) ) d t + ξ Y ( t ) d B ( t ) ,
where κ > 0 is the speed of mean reversion, ω > 0 is the long-term level, ξ > 0 is the volatility, and  B ( t ) is a standard Brownian motion.
A fundamental property of the CIR process for discrete-time applications is the existence of an exact conditional distribution for Y ( t + t ) , given the value Y ( t ) = y 0 over a time interval t . As demonstrated by [14], this conditional distribution follows a scaled non-central chi-square distribution (χ′2):
Y ( t + t ) Y ( t ) = y 0 c 0 χ 2 ( df , λ ) ,
where the scale factor c 0 , the degrees of freedom df and the non-centrality parameter λ are defined as functions of the CIR model parameters and the initial value y 0 :
c 0 = ξ 2 ( 1 e κ t ) 4 κ , df = 4 κ ω ξ 2 , λ = 4 κ y 0 e κ t ξ 2 ( 1 e κ t ) .
The use of this exact distribution is advantageous as it ensures the non-negativity of the process ( Y ( t ) 0 ), which is essential in many financial applications, and avoids biases that could arise from approximate discretization methods. Thus, the probability density function p ( Y ( t + t ) Y ( t ) ; κ , ω , ξ ) , computable from Equation (6), is essential for parameter estimation of the model using methods such as maximum likelihood or Bayesian inference, as also discussed by [28].

2.2. Parameter Estimation

Let { X ( t ) ; t 0 } be a GOU-FE process (3) with stochastic volatility Y ( t ) = σ ( X ( t ) ) given by a CIR process (5), where B H ( t ) is an fBm with Hurst parameter H ( 0 , 1 ) .
For the initial estimation of the Hurst parameter, the hurstexp function from the pracma package in R is employed. This function utilizes the Rescaled Range (R/S) estimator, applied to the log-returns of Bitcoin prices (cf. [29,30]). The obtained value serves as the initial estimate for optimizing the models via the maximum likelihood method (using optim()), with distinct lower and upper bounds for each model.
For parameter and latent state estimation in nonlinear and non-Gaussian state-space models, such as the one proposed in this work, we employ the Sequential Monte Carlo (SMC) method, commonly known as the Particle Filter. This method allows for the recursive approximation of the posterior distribution of the latent states Y ( t ) conditioned on the observations X ( 1 ) , X ( 2 ) , X ( 3 ) , , X ( t ) , being particularly suitable for handling the nonlinearities and non-Gaussian features inherent in the model [31].
The implementation of the particle filter is based on representing the distribution of interest by a set of weighted samples (particles), { Y ( t ) ( i ) , w ( t ) ( i ) } i = 1 N , where Y ( t ) ( i ) are the particle states and w t ( i ) are their respective normalized weights ( i w ( t ) ( i ) = 1 ). The iterative process of the filter, as described by [32,33], involves three main steps: propagation, weighting, and resampling.
First, the stochastic dynamic model is formulated in the state-space representation, defining the transition equation for the latent state X ( t ) and the observation equation for the data Y ( t ) (prices):
X ( t ) = f θ ( X ( t 1 ) ) + ε t , ( State Equation ) Y ( t ) = g θ ( X ( t ) ) + η t , ( Observation Equation )
where θ denotes the vector of parameters to be estimated, and  ε t and η t are the process and observation noise terms, respectively.
The standard particle filter algorithm (Bootstrap Filter) can be summarized as in Algorithm 1. The initialization step consists of generating N particles { X ( 0 ) ( i ) } i = 1 N from the prior distribution p ( X ( 0 ) ) and assigning uniform weights w ( 0 ) ( i ) = 1 / N .
Subsequently, for each time step t = 1 , , T , the propagation and weighting steps are executed. In the propagation step, each particle is advanced according to the model dynamics, X ( t ) ( i ) p θ ( X ( t ) X ( t 1 ) ( i ) ) . In the case of the CIR model, this transition can be sampled exactly [14].
In the weighting step, the weights are updated proportionally to the likelihood of the observation Y t given the propagated particle, w ( t ) ( i ) w ( t 1 ) ( i ) p θ ( Y ( t ) X ( t ) ( i ) ) , and then normalized.
Algorithm 1: Particle Filter (Bootstrap Filter).
1:
Initialization ( t = 0 )
2:
for  i = 1 , , N
3:
   Sample X ( 0 ) ( i ) p ( X ( 0 ) )
4:
   Set w ( 0 ) ( i ) 1 / N
5:
end for
6:
for  t = 1 , , T
7:
   Propagation and Weighting
8:
   for  i = 1 , , N
9:
       Propagation: Sample X ˜ ( t ) ( i ) p θ ( X ( t ) X ( t 1 ) ( i ) )
10:
     Weighting:  w ˜ ( t ) ( i ) w ( t 1 ) ( i ) × p θ Y ( t ) X ˜ ( t ) ( i )
11:
   end for
12:
   Normalization
13:
   Evaluate W ( t ) j = 1 N w ˜ ( t ) ( j )
14:
   for  i = 1 , , N
15:
     Set w ( t ) ( i ) w ˜ ( t ) ( i ) / W ( t )
16:
   end for
17:
   Resample
18:
   Evaluate ESS 1 / i = 1 N w ( t ) ( i ) 2
19:
   if  ESS < N threshold  then
20:
     Resample { X ( t ) ( i ) , w ( t ) ( i ) } i = 1 N from { X ˜ ( t ) ( i ) , w ( t ) ( i ) } i = 1 N
21:
     Set w ( t ) ( i ) 1 / N i
22:
   else
23:
      i : X ( t ) ( i ) X ˜ ( t ) ( i )
24:
   end if
25:
end for
In the context of this algorithm, resampling is employed to mitigate the phenomenon of weight degeneracy. This issue arises when a small number of particles carry most of the probability mass, compromising the representativeness of the distribution. To detect degeneracy, the Effective Sample Size (ESS) is calculated using ESS = 1 / i = 1 N ( w ( t ) ( i ) ) 2 , and if it falls below a predefined threshold, such as N / 2 , resampling is triggered. After resampling, the selected particles are assigned uniform weights, equal to 1 / N .
The particle filter provides an approximation of the marginal likelihood function p ( Y ( 1 ) , Y ( 2 ) , Y ( 3 ) , , Y ( T ) ) θ ) , which is essential for parameter estimation. The likelihood can be calculated iteratively, and its approximation at time T is given by
L ^ ( θ ) = p ( Y 1 ) t = 2 T p ( Y ( t ) Y ( 1 ) , Y ( 2 ) , , Y ( t 1 ) ) t = 1 T 1 N i = 1 N p θ ( Y ( t ) X ( t ) ( i ) )
A more practical approximation is
L ^ ( θ ) t = 1 T i = 1 N w ( t 1 ) ( i ) p θ ( Y ( t ) X ˜ ( t ( i ) ) )
This likelihood approximation is then used in a numerical optimization procedure to obtain the maximum likelihood estimate (MLE) of the parameters, θ ^ = arg max θ log L ^ ( θ ) .
In this work, the L-BFGS-B method was used for optimization—a quasi-Newton method efficient for parameter-constrained problems [34]—as well as the Nelder–Mead method [35].
The main advantages of the particle filter include its flexibility in handling complex, nonlinear, and non-Gaussian models and its asymptotic convergence (as N ) to the optimal distribution. The computational complexity is of order O ( N ) per time step.

3. ACD Models

In this section, we review the essential concepts of the ACD models, first introduced by [11]. This class of models was developed to analyze the time between events, particularly high-frequency financial data such as the duration between trades. By modeling these durations, ACD models provide insights into market liquidity and activity.
The original framework has inspired numerous extensions. Ref. [36] proposed the Generalized Gamma ACD model to offer a more flexible distributional assumption for the durations. The authors in [37] introduced a time-varying ACD model, without stationary assumptions. Others have shifted the modeling focus from the conditional mean to the conditional quantile; for instance, the authors in [38] developed the Birnbaum–Saunders ACD (BS-ACD) to model the conditional median, which was later extended in [39] and approached from a Bayesian perspective in [40]. More recently, the authors in [41,42] proposed conditional quantile frameworks for ACD models, while the authors in [43] highlighted the sensitivity of model estimators to the tail behavior of duration data. For a comprehensive treatment of the topic, we refer the reader to [44].
The main idea of the ACD model [11] is to assume that the duration X t is the product of the conditional mean duration, ψ t , and a standardized, independent, and identically distributed (i.i.d.) random error term, ϵ t . The error term is drawn from a distribution with positive support and a unit mean. The model is specified as
X t = ψ t ϵ t , where E [ ϵ t ] = 1 .
The conditional mean duration ψ t is defined based on the information set F t 1 available up to time t 1 . It follows a GARCH-like autoregressive process:
ψ t = E [ X t | F t 1 ] = ω + i = 1 p α i X t i + j = 1 q β j ψ t j .
This specification is known as the A C D ( p , q ) model. To ensure that the conditional duration ψ t is always positive, the parameters are constrained to be non-negative: ω > 0 , α i 0 , and  β j 0 . For the process to be weakly stationary, it is required that i = 1 p α i + j = 1 q β j < 1 . A key distinction between various ACD models lies in the choice of the probability distribution for the error term ϵ t .

3.1. Exponential ACD Model

The simplest variant is the Exponential ACD (EACD) model, which assumes that the standardized durations ϵ t follow a standard exponential distribution. In the EACD model, the observed duration X t at time t (for example, the time elapsed between a price change) is decomposed into the product of a conditional mean duration ψ t and a standardized innovation ϵ t . Note that ψ t = E [ X t F t 1 ] represents the conditional expectation of X t given the information set F t 1 (information set up to the most recent observation X t 1 ), while ϵ t = X t / ψ t has a unit mean and is assumed to follow a standard exponential distribution with a probability density function (PDF):
f ( ϵ t ) = e ϵ t , for ϵ t 0 .
Therefore, given that
X t = ψ t ϵ t , ϵ t Exp ( 1 ) ,
then
f ( x i F t 1 ) = 1 ψ t exp x t ψ t .
The primary limitation of the EACD model is its assumption of a constant conditional hazard rate, which may be too restrictive for financial applications where time-varying risk profiles are common.

3.2. Weibull ACD Model

The Weibull ACD (WACD) model, also introduced in [11], provides greater flexibility by allowing for a non-constant hazard function. It assumes that ϵ t follows a Weibull distribution. To ensure E [ ϵ t ] = 1 , the standard Weibull distribution is rescaled.
Let the PDF of a standard Weibull distribution with shape parameter γ > 0 and scale parameter λ > 0 be g ( z ) = γ λ z λ γ 1 exp z λ γ . Its mean is λ Γ ( 1 + 1 / γ ) . For  ϵ t to have a unit mean, we set the scale parameter λ = [ Γ ( 1 + 1 / γ ) ] 1 . The resulting PDF for ϵ t is
f ( ϵ t ; γ ) = γ Γ ( 1 + 1 / γ ) γ ϵ t γ 1 exp ( ϵ t Γ ( 1 + 1 / γ ) ) γ .
The shape parameter γ determines the shape of the hazard function. If  γ > 1 , the hazard rate is increasing; if γ < 1 , it is decreasing; and if γ = 1 , the WACD model reduces to the EACD model with a constant hazard rate. Following the main ACD equation ( X t = ψ t ϵ t ), the conditional PDF for the observed duration X t given the past information F t 1 is found by applying the change of variables ϵ t = X t / ψ t :
f ( x t | F t 1 ) = γ ψ t Γ ( 1 + 1 / γ ) ) γ x t ψ t γ 1 exp x t ψ t Γ ( 1 + 1 / γ ) γ .

3.3. Generalized Gamma ACD Model

The Generalized Gamma (GG) ACD model, proposed in [36], further enhances flexibility in capturing the distribution of durations. The PDF of the GG distribution for ϵ t is parameterized by two shape parameters, κ > 0 and γ > 0 . The conditional density of X t is given by
f ( x t | F t 1 ) = γ ψ t Γ ( κ ) Γ ( κ + 1 / γ ) Γ ( κ ) κ γ x t ψ t κ γ 1 exp x t Γ ( κ + 1 / γ ) ψ t Γ ( κ ) γ .
This form arises from rescaling the standard GG distribution to ensure the conditional mean is ψ t , i.e.,  E [ X t | F t 1 ] = ψ t . The GG distribution nests several other distributions as special cases, providing a rich framework for duration modeling: Weibull distribution, when κ = 1 ; gamma distribution, when γ = 1 ; and exponential distribution, when κ = 1 and γ = 1 .

4. Applications

This section presents the modeling of both daily and intraday data, according to the models detailed in Section 2 and Section 3. The results were obtained using R software, version 4.4.1. To ensure reproducibility, the source codes are publicly available in the GitHub repository, accessible at: https://github.com/Arthur-RPC/BitcoinSDE-ACD-Analysis.git (accessed on 7 September 2025).
For this study, daily price data were retrieved from the CoinMarketCap website using the crypto2 package in R, which performs automated scraping of the historical records of several financial assets, including Bitcoin, the focus of this research. The analyzed period spans from 1 January 2019 to 31 December 2024. The dataset consists of daily closing prices, which represent the final recorded value of the asset at the end of each trading day.
For the intraday analysis of Bitcoin prices, we computed price durations from high-frequency financial data obtained from the Dukascopy website (available at: https://www.dukascopy.com/trading-tools/widgets/quotes/historical_data_feed), corresponding to 20 January 2025. The removal of seasonality and the model fits within the ACD framework were made using the R package ACDm, Version 1.0.4.3 [45].

4.1. Data Description

It is essential to understand the dynamics of Bitcoin prices over time in order to provide a solid foundation before applying statistical modeling. Thus, Figure 1 shows the trajectory of this cryptocurrency from 1 January 2019 to 31 December 2024.
As shown in Figure 1, the analyzed period encompasses different market conditions. Between January 2019 and early 2020, Bitcoin prices remained relatively stable, staying below US$15,000. In 2021, there was a strong upward trend in the first half of the year, followed by a sharp correction. This price surge coincided, in part, with the COVID-19 pandemic, during which many investors began to view Bitcoin as a potential hedge against global economic instability [46].
Between 2023 and 2024, Bitcoin experienced another significant increase in value, driven by macroeconomic factors and specific events in the cryptocurrency market. This period culminated in a new price record, surpassing US$98,000 in November 2024, possibly influenced by political events such as the United States elections.
The presence of these different behaviors—from relative calm to high volatility, including sharp uptrends and corrections—makes the 2019–2024 interval ideal for testing the selected stochastic models. This allows for evaluating whether these models adequately adapt to drastic changes in price dispersion. Moreover, the occurrence of persistent trends and abrupt reversals creates a suitable context to test the ability of models based on fractional Brownian motion to capture temporal dependence.
Therefore, the choice of this period is not intended to avoid the influence of external factors or price instability but rather to use them as a stress test for the models. The ability of a stochastic model to describe and predict Bitcoin behavior over such a heterogeneous period, including both calm phases and major turbulence, attests to its robustness and relevance. In this context, the randomness and long memory, intrinsic characteristics of the studied models, will be assessed against a rich and challenging price history.

4.2. Daily Analysis

In this section, we use the abbreviations GOUFE-CIR and GOUFE-CONST to refer to the GOU-FE process driven by fBm (3), with the CIR model as the volatility function Y ( t ) = σ ( X ( t ) ) , and the GOU-FE process with constant volatility ( σ 1 ), respectively. Similarly, we use GFBM-CIR and GFBM-CONST to denote the corresponding GBM models obtained from (4).
To asses the performance of all four models (GOUFE-CIR, GOUFE-CONST, GFBM-CIR, and GFBM-CONST), their parameters were estimated. The results are presented in Table 1 and Table 2, where dashes (–) indicate parameters not applicable to the constant volatility specification.
From Table 1 and Table 2, it can be observed that the models with constant volatility (GOUFE-CONST and GFBM-CONST) yield higher log-likelihood values compared to their respective counterparts with CIR-type stochastic volatility. This initial analysis suggests that, for the daily Bitcoin prices, the additional complexity introduced by modeling volatility through the CIR process may not be justified, and assuming constant volatility provides a more efficient fit to the data. Among all analyzed models, GOUFE-CONST stands out with the highest log-likelihood (31,871.26), indicating the best overall fit. Furthermore, the estimated Hurst exponent (H) remains consistently in the range of 0.54 to 0.55 across all models, highlighting the presence of long memory in the daily Bitcoin prices.
After evaluating the estimated parameters, predictive performance was assessed using error metrics that quantify the deviation between observed and predicted values. Accordingly, Figure 2 presents a comparison between the observed daily Bitcoin prices and the forecasts generated by the four models throughout the analysis period, while Table 3 summarizes this comparison based on the prediction errors.
Analyzing Figure 2, it can be seen that all models are able to follow the general trajectory of the observed prices, capturing the main market trends and movements. However, Table 3 shows that, from the perspective of prediction errors and the coefficient of determination, the GFBM-CIR model had the best performance, presenting the lowest RMSE (US$1201.802) and the lowest MAPE (2.25%). On the other hand, GOUFE-CONST achieved the lowest MAE (US$716.2269).
Additionally, the GOUFE-CONST model also obtained the highest R 2 value (0.9969822), indicating that it explains approximately 99.70% of the variability in observed prices, although the other models have very similar values. Regarding bias, the GFBM-CIR model showed the smallest absolute bias (US$9.7625), suggesting a very small tendency toward overestimation, whereas GOUFE-CIR presented the highest bias (US$215.2351).
Overall, the error metrics suggest that in terms of predictive accuracy, the GFBM-CIR and GOUFE-CONST models performed the best, although the other models are not far behind. It is worth noting that, for the GOUFE model, the adoption of stochastic volatility (CIR) did not bring a significant gain in accuracy despite the additional parameters. In contrast, for the GFBM model, introducing CIR volatility resulted in a noticeable improvement, with the CIR version having a bias of only US$9.7625, compared to US$−72.3004 for the constant volatility specification.
Nevertheless, to more confidently determine which model performs best, it is necessary to consider additional factors, such as the Information Criteria (AIC, BIC, and EDC), where lower values indicate a better fit by penalizing model complexity. Table 4 presents these results.
According to the results in Table 4, the GOUFE-CIR model achieved the lowest values for all three information criteria (AIC, BIC, and EDC), indicating the best overall fit by balancing likelihood and model complexity. The GFBM-CIR model ranked second in this evaluation.
These results suggest that introducing stochastic volatility via the CIR (Cox–Ingersoll–Ross) process provided a significant gain in model fit that justifies the increased number of parameters, particularly when compared to the constant volatility versions (GOUFE-CONST and GFBM-CONST), which yielded consistently higher AIC, BIC, and EDC values.
However, it is important to note that information criteria are based on in-sample fit. When comparing these findings with the out-of-sample predictive performance reported in Table 3, a discrepancy in model rankings emerges. While GFBM-CIR and GOUFE-CONST performed better in terms of predictive accuracy, GOUFE-CIR remained the best model based on in-sample fit.

4.2.1. Residual Analysis

To evaluate model adequacy, a residual analysis was performed. This allows us to examine the distribution of residuals, including median, quartiles, and outliers, as shown in Figure 3 and Table 5.
Based on Figure 3 and Table 5, we conclude that the GFBM-CIR and GOUFE-CONST models exhibit low bias in forecasting the central trend of Bitcoin prices, as their medians are very close to zero (2.81 and −5.84, respectively).
Regarding the dispersion of the residuals, the interquartile range (IQR = Q3 − Q1) is similar across models, ranging from 666.72 (GOUFE-CONST) to 698.34 (GOUFE-CIR). In this aspect, GOUFE-CIR shows the highest IQR and also the highest standard deviation (SD = 1271.11), indicating greater variability in its residuals. On the other hand, GFBM-CIR (SD = 1212.76) and GOUFE-CONST (SD = 1212.72) have the lowest standard deviations, indicating less dispersion.
In terms of symmetry in the residual distribution, the GFBM-CIR model appears to be the most symmetric around its median, with similar distances between the median and quartiles ( Med Q 1 344.24 ; Q 3 Med 322.95 ). The GFBM-CONST model shows a slight right-skew, while the GOUFE-CIR model exhibits a more pronounced left-skew, consistent with its negative median.
A common feature in all four models is the presence of numerous outliers, which contribute to large prediction errors. The total range of residuals (Max–Min) is quite similar across models, varying from approximately 15,694 (GFBM-CONST) to 15,979 (GOUFE-CIR).
In Figure 4, we present the scatter plots of residuals against the observed Bitcoin prices for the four models fitted to the daily data: GFBM-CIR, GFBM-CONST, GOUFE-CIR, and GOUFE-CONST.
According to Figure 4, in all four models, the dispersion of residuals is not constant across the range of observed prices. For lower prices (approximately below US$25,000), the residuals are more concentrated around zero, indicating smaller errors. However, as the price increases, the variability of the residuals also increases considerably, forming a pattern resembling a cone or fan. This behavior indicates the presence of heteroskedasticity, meaning that the error variance is not constant and tends to be larger at higher price levels. Thus, the models’ prediction errors tend to increase as Bitcoin prices rise.
To gain further insight into the distribution of residuals, QQ-plots are provided below, comparing the quantiles of the residuals with the quantiles of a standard normal distribution N ( 0 , 1 ) . This is presented in Figure 5.
According to Figure 5, all four models show significant deviations from the reference line, with a large number of outliers and heavy tails, suggesting that the residuals do not follow a standard normal distribution.
This heavy-tailed behavior implies that prediction errors can occasionally be much larger than what is suggested by average-based measures such as RMSE or MAE. To better assess the risk associated with such extreme events, we use the Expected Shortfall (ES), also known as Conditional Value at Risk. The ES1−α measures the average expected loss in the worst α % of scenarios.
Table 6 presents the Expected Shortfall values calculated at a 95% confidence level (ES95) for each fitted model.
Analyzing the results in Table 6, we conclude that the GOUFE-CIR model presented the lowest expected shortfall (US$−2764.197), considering the average losses in the worst 5% of scenarios. Next in ranking are the GOUFE-CONST (US$−3020.207) and GFBM-CIR (US$−3070.517) models, with very similar values.
In contrast, the GFBM-CONST model recorded the highest expected shortfall (US$−3212.101), indicating that it is the least conservative model.

4.2.2. Normality and Autocorrelation Tests on Residuals

To formally verify the normality hypothesis suggested in Figure 5, the Shapiro–Wilk test was applied and its results presented in Table 7. The null hypothesis ( H 0 ) of this test is that the data follow a normal distribution.
As shown in Table 7, the p-values for all four models are extremely small, leading to rejection of the null hypothesis of normality in all cases.
To assess whether autocorrelation is present in the residuals of the fitted models, the Autocorrelation Function (ACF) plots are presented in Figure 6. These plots display the estimated autocorrelations of the residuals at different lags for each model. The blue dashed lines represent approximate significance limits (usually ± 1.96 / N , where N is the sample size). Bars exceeding these limits indicate statistically significant autocorrelation at that specific lag.
As seen in Figure 6, all four models show several bars exceeding the significance limits, suggesting that some autocorrelation structures are not fully captured by the models.
To formally and globally test for the presence of autocorrelation, the Ljung–Box test was applied, and its results are presented in Table 8. Its null hypothesis ( H 0 ) is that autocorrelations up to a given lag are jointly equal to zero, i.e., the residuals are independent. According to Burns [47], the chosen lag should not exceed 5% of the sample size. For the current study, a lag of 60 days was selected, which falls well below the upper limit (109).
As evident from Table 8, the null hypothesis ( H 0 ) is strongly rejected for all four models, as the p-values are significantly lower than any conventional significance level. Thus, residuals exhibit dependency at a 60-day lag, confirming the initial suspicion that these models retain some long-range temporal dependence.

4.3. Intraday Analysis

The choice of the price difference threshold is a crucial step in computing price durations, as it determines which price changes should be considered significant for generating durations (intervals between meaningful price changes). If the threshold is too small, the analysis may be dominated by market noise, leading to an excessive number of short durations. Conversely, if the threshold is too large, important market movements might be overlooked.
To find an appropriate balance, tests were conducted by varying the price threshold between 0.05%, 0.075%, 0.10%, and 0.15% of the average Bitcoin price on 20 January 2025. The impact of this choice on the resulting distribution of durations is presented in Figure 7 and Table 9.
As shown in Figure 7 and Table 9, a 0.05% threshold is highly sensitive to minor price fluctuations, generating 8893 durations with a median of just 4 s. In contrast, a 0.15% threshold drastically reduces the event count to 1579 and increases the median duration to 21 s. The 0.10% threshold offers a balanced trade-off, producing a substantial number of durations (3114) with a median of 10 s, thereby capturing significant market movements without being overly influenced by noise. Based on these findings, a threshold of 0.10%, corresponding to price changes of approximately US$104.74, was adopted for the remainder of this study.

4.3.1. Duration Analysis Throughout the Day

To understand how market activity varies over a 24 h period, the generated durations were analyzed. In ACD models, shorter durations indicate periods of high market activity, whereas longer durations suggest lower liquidity or reduced volatility. Figure 8 displays the evolution of durations over the course of the day, highlighting periods of higher and lower price variation intensity.
From Figure 8, we note that significant variation in durations is observable throughout the day. The longest durations, where prices remained stable for over 6 minutes, occurred around 3:00 a.m., 7:00 a.m., 9:00 a.m., and 7:00 p.m. (GMT-3 timezone).
To remove the underlying diurnal pattern from durations, a smoothing technique known as the “Super Smoother”, proposed by Friedman [48], was applied. This method identifies long-term trends in how durations vary over the day. The resulting pattern is shown in Figure 9.
Figure 9 reveals a cyclical intraday pattern in event durations. Durations are initially high, then drop sharply around 5:00 a.m., signaling an increase in trading activity. Between 5:00 a.m. and 3:00 p.m., successive peaks and troughs suggest fluctuating volatility, likely influenced by overlapping market sessions and liquidity windows. Towards the end of the day (after 3:00 p.m.), durations begin to rise again as market activity subsides.
After adjusting the durations to remove the time-of-day effect, the distribution of the adjusted durations is presented in Figure 10. The histogram reveals a highly right-skewed distribution, with the vast majority of durations concentrated near zero, indicating that most transactions occur within extremely short time intervals.
This sharp concentration around zero is consistent with the microstructure of financial markets, where bursts of activity tend to cluster in high-liquidity periods. Despite the adjustment, the presence of a long right tail suggests that some prolonged gaps between transactions still occur, potentially driven by episodic drops in trading intensity or structural breaks not fully captured by the diurnal correction.
The resulting shape underscores the need for flexible parametric models, such as the Generalized Gamma distribution, that can accommodate both heavy tails and asymmetry. This distributional feature will directly inform the choice of conditional duration models in subsequent sections and highlights the limitations of more restrictive specifications like the exponential distribution, which assumes memorylessness and constant hazard rate.
Table 10 provides summary statistics for the adjusted durations, which are essential for selecting and parameterizing an appropriate ACD model. The statistics confirm right skewness (3.877) and high kurtosis (26.698). The mean (1.055 s) is greater than the median (0.704 s), which is characteristic of a right-skewed distribution. The high coefficient of variation (110.62%) underscores the significant dispersion of the data.

4.3.2. Model Fit Analysis for Durations

To model the adjusted durations, three A C D ( 1 , 1 ) models were fitted and compared: Exponential, Weibull, and Generalized Gamma. The parameter estimates for each model are presented in Table 11, Table 12, and Table 13.
In all three models, the parameters α 1 and β 1 are highly statistically significant, indicating a strong temporal dependence where past durations heavily influence the current duration.
  • Exponential Model: The parameter estimates show high persistence, with the sum α 1 + β 1 1.0689 .
  • Weibull Model: This model also indicates strong temporal dependence. The shape parameter γ = 1.1722 is significant and greater than 1, suggesting that the hazard rate of durations is increasing and that the distribution is more peaked with heavier tails than the exponential distribution.
  • Generalized Gamma Model: The estimates for α 1 and β 1 again confirm temporal persistence. The additional shape parameters, κ = 20.7112 and γ = 0.2464 , are both significant, affording the model greater flexibility to capture the complex skewness and kurtosis of the duration data.
The evaluation of model fit for the ACD(1,1) specification was conducted using a combination of log-likelihood values and standard model selection criteria: AIC (Akaike Information Criterion), BIC (Bayesian Information Criterion), and MSE (Mean Squared Error). As presented in Table 14, the Generalized Gamma distribution produced the best overall performance, attaining the highest log-likelihood and the lowest values for AIC and BIC. Although the MSE differences across models are subtle, they remain consistent with the ranking obtained from the likelihood-based criteria.
These results indicate that the Generalized Gamma model provides a more flexible and accurate representation of the conditional distribution of durations, particularly when compared to the more restrictive Exponential and Weibull alternatives.
In addition to the numerical criteria, the adequacy of the fitted models was also examined through Cox–Snell residual analysis. QQ-plots of the residuals (Figure 11) illustrate the extent to which the transformed residuals conform to the theoretical Exp ( 1 ) distribution. The Exponential and Weibull models display clear deviations from the reference line, especially in the upper quantiles, indicating poor tail modeling. Conversely, the Generalized Gamma model yields residuals that closely align with the diagonal, suggesting a more accurate capture of the underlying duration dynamics.
Overall, the combination of information criteria and residual diagnostics supports the Generalized Gamma distribution as the most appropriate choice for modeling intraday durations under the ACD(1,1) structure.
To quantify the fit in the tail of the distribution, the Expected Shortfall (ES) was computed at a 95% confidence level ( E S 95 ), representing the average of the most extreme 5% values; see Table 15. From this table, we note that the Generalized Gamma model achieved an ES95% of 3.9753, which is lower than the ES95% of the Exponential model (4.0759) and the Weibull model (4.882). This result indicates that the Generalized Gamma model provides a better fit to the expected behavior of an Exp ( 1 ) distribution.
Finally, to ensure that the models successfully captured all temporal dependence, the Cox–Snell residuals were tested for autocorrelation using ACF plots (Figure 12) and the Ljung–Box test (Table 16). The Ljung–Box test results show p-values well above 0.05 for all models, so the null hypothesis of no autocorrelation is not rejected. The ACF plots in Figure 12 visually support this, with most correlations falling within the confidence bands.

5. Conclusions

This study focuses on the stochastic modeling of Bitcoin prices, addressing both daily and intraday dynamics, to capture complex features such as long memory, stochastic volatility, and patterns in transaction durations. The objective was to propose and evaluate models based on SDEs driven by fBm for daily data and ACD models for intraday analysis.
In the daily analysis, GFBM and GOUFE models were compared, incorporating both constant and stochastic volatility specifications via the CIR model. The evaluation—based on error metrics, information criteria, and risk analysis—indicated that models with stochastic volatility provided a better fit, suggesting that incorporating volatility dynamics is indeed relevant. Residual analysis, however, revealed the presence of heteroskedasticity (i.e., increasing variance with price) across all models. Although autocorrelation was mitigated, these findings indicate that despite progress, the models still fall short of fully capturing the complexity of the distribution of Bitcoin’s daily returns.
For the intraday analysis, Exponential, Weibull, and Generalized Gamma ACD models were applied to price durations. The results are seen to be quite favorable to the Generalized Gamma model in terms of model fitting.
The improved model identification discussed in this paper has practical implications for real-world dynamic trading and risk management, as it enables a more accurate understanding of price dynamics and time durations. Importantly, statistical comparisons using information criteria and error measures demonstrate that our proposed methods consistently outperform conventional specifications, thereby confirming the robustness of the modeling approach.
However, there are some challenges in practical applications. One limitation is the computational costs associated with making near-instantaneous decisions in fast-moving extreme markets. The algorithms showed good convergence when using Nelder–Mead optimization, whereas L-BFGS-B did not perform as well. Additionally, the choice of initial guesses plays an important role in the drift estimation of the GOUFE-CIR model. Another limitation is the unobservability of the stochastic volatility process, which complicates real-time estimation and may require the use of filtering techniques or proxy variables to infer volatility dynamics.
Overall, the framework we explored in this work can be a starting point to study the GOUFE-CIR with high-frequency data observations and how to estimate the parameters in this case.

Author Contributions

Conceptualization, A.R.P.d.C., F.Q. and H.S.; methodology, A.R.P.d.C., F.Q. and H.S.; software, A.R.P.d.C.; validation, F.Q. and H.S.; formal analysis, F.Q., H.S., T.A.d.F., L.C.S.M.O. and P.N.R.; investigation, A.R.P.d.C.; writing—original draft preparation, A.R.P.d.C., F.Q. and H.S.; writing—review and editing, T.A.d.F., L.C.S.M.O. and P.N.R. All authors have read and agreed to the published version of the manuscript.

Funding

Helton Saulo gratefully acknowledges financial support from the University of Brasília and the Brazilian National Council for Scientific and Technological Development (CNPq) through grant number 304716/2023-5. The APC was kindly waived by the Editorial Office of FinTech.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data can be accessed via the links in the article.

Acknowledgments

The authors acknowledge the support provided by the University of Brasilia (UnB). The authors would like to thank the editor and three anonymous referees for their useful comments, which helped us improve the manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System. SSRN 2008. [Google Scholar] [CrossRef]
  2. Antonopoulos, A.M. Mastering Bitcoin: Programming the Open Blockchain, 2nd ed.; O’Reilly Media: Sebastopol, CA, USA, 2017; pp. 115–130. [Google Scholar]
  3. Merediz-Solà, I.; Bariviera, A.F. A bibliometric analysis of bitcoin scientific production. Res. Int. Bus. Financ. 2019, 50, 294–305. [Google Scholar] [CrossRef]
  4. Rejeb, A.; Rejeb, K.; Alnabulsi, K.; Zailani, S. Tracing Knowledge Diffusion Trajectories in Scholarly Bitcoin Research: Co-Word and Main Path Analyses. J. Risk Financ. Manag. 2023, 16, 355. [Google Scholar] [CrossRef]
  5. Antonopoulos, A.M. Mastering Bitcoin: Unlocking Digital Cryptocurrencies, 1st ed.; O’Reilly Media: Sebastopol, CA, USA, 2014; pp. 89–101. [Google Scholar]
  6. Garnier, J.; Solna, K. Chaos and order in the bitcoin market. Phys. A Stat. Mech. Its Appl. 2019, 524, 708–721. [Google Scholar] [CrossRef]
  7. Hotta, L.K.; Trucíos, C.; Valls Pereira, P.L.; Zevallos, M. Forecasting Bitcoin and Ethereum risk measures through MSGARCH models: Does the specification matter? Braz. Rev. Financ. 2025, 23, e202503. [Google Scholar] [CrossRef]
  8. Rathie, P.; Ozelim, L. Exact and approximate expressions for the reliability of stable Lévy random variables with applications to stock market modelling. J. Comput. Appl. Math. 2017, 321, 314–322. [Google Scholar] [CrossRef]
  9. Rathie, P.; Ozelim, L.; Otiniano, C. Exact distribution of the product and the quotient of two stable Lévy random variables. Commun. Nonlinear Sci. Numer. Simul. 2016, 36, 204–218. [Google Scholar] [CrossRef]
  10. Alhagyan, M.; Yassen, M.F. Incorporating stochastic volatility and long memory into geometric Brownian motion model to forecast performance of Standard and Poor’s 500 index. AIMS Math. 2023, 8, 18581–18595. [Google Scholar] [CrossRef]
  11. Engle, R.; Russell, J. Autoregressive Conditional Duration: A New Method for Irregularly Spaced Transaction Data. Econometrica 1998, 66, 1127–1162. [Google Scholar] [CrossRef]
  12. Dimpfl, T.; Odelli, S. Bitcoin Price Risk—A Durations Perspective. J. Risk Financ. Manag. 2020, 13, 157. [Google Scholar] [CrossRef]
  13. Quintino, F.S.; Medino, A.V.; Dorea, C.C. Drift estimation for a class of generalized Ornstein-Uhlenbeck process with fluctuating exponential trend. Commun. Stat.-Simul. Comput. 2025, 54, 1161–1174. [Google Scholar] [CrossRef]
  14. Cox, J.C.; Ingersoll, J.E.; Ross, S.A. A theory of the term structure of interest rates. Econometrica 1985, 53, 385–407. [Google Scholar] [CrossRef]
  15. Barndorff-Nielsen, O.; Shephard, N. Non-Gaussian Ornstein-Uhlenbeck-based models and some of their uses in financial economics. J. R. Stat. Soc. Ser. B 2001, 63, 167–241. [Google Scholar] [CrossRef]
  16. Mori, H. Transport, Collective Motion, and Brownian Motion. Prog. Theor. Phys. 1965, 33, 423–455. [Google Scholar] [CrossRef]
  17. Kubo, R. The fluctuation-dissipation theorem. Rep. Prog. Phys. 1966, 29, 255–284. [Google Scholar] [CrossRef]
  18. Kannan, D. On the Generalized Langevin Equation. J. Math. Phys. Sci. 1977, 11, 1–24. [Google Scholar]
  19. Kannman, D.; Bharucha-Reid, A. Random integral equation formulation of a generalized Langevin equation. J. Stat. Phys. 1972, 5, 209–233. [Google Scholar] [CrossRef]
  20. Medino, A.; Lopes, S.; Morgado, R.; Dorea, C. Generalized Langevin equation driven by Lévy processes: A probabilistic, numerical and time series based approach. Phys. A Stat. Mech. Its Appl. 2012, 391, 572–581. [Google Scholar] [CrossRef]
  21. Zwanzig, R. Nonequilibrium Statistical Mechanics; Oxford University Press: Oxford, UK, 2001. [Google Scholar]
  22. Ottobre, M.; Pavliotis, G.A. Asymptotic analysis for the generalized Langevin equation. Nonlinearity 2011, 24, 1629. [Google Scholar] [CrossRef]
  23. McKinley, S.A.; Nguyen, H.D. Anomalous diffusion and the generalized Langevin equation. SIAM J. Math. Anal. 2018, 50, 5119–5160. [Google Scholar] [CrossRef]
  24. DiTerlizzi, I.; Ritort, F.; Baiesi, M. Explicit solution of the generalised Langevin equation. J. Stat. Phys. 2020, 181, 1609–1635. [Google Scholar] [CrossRef]
  25. Pavliotis, G.A.; Stoltz, G.; Vaes, U. Scaling limits for the generalized Langevin equation. J. Nonlinear Sci. 2021, 31, 8. [Google Scholar] [CrossRef]
  26. Zhu, Y.; Venturi, D. Generalized Langevin equations for systems with local interactions. J. Stat. Phys. 2020, 178, 1217–1247. [Google Scholar] [CrossRef]
  27. Stein, J.; Lopes, S.; Medino, A. Continuous processes derived from the solution of generalized Langevin equation: Theoretical properties and estimation. J. Stat. Comput. Simul. 2016, 86, 2819–2845. [Google Scholar] [CrossRef]
  28. Glasserman, P. Monte Carlo Methods in Financial Engineering; Springer: New York, NY, USA, 2004. [Google Scholar] [CrossRef]
  29. Hurst, H.E. Long-term storage capacity of reservoirs. Trans. Am. Soc. Civ. Eng. 1951, 116, 770–808. [Google Scholar] [CrossRef]
  30. Mandelbrot, B.B.; Wallis, J.R. Robustness of the rescaled range R/S in the measurement of noncyclic long run statistical dependence. Water Resour. Res. 1969, 5, 967–988. [Google Scholar] [CrossRef]
  31. Doucet, A.; de Freitas, N.; Gordon, N.J. (Eds.) Sequential Monte Carlo Methods in Practice; Springer: New York, NY, USA, 2001. [Google Scholar] [CrossRef]
  32. Gordon, N.J.; Salmond, D.J.; Smith, A.F.M. Novel approach to nonlinear/non-Gaussian Bayesian state estimation. IEE Proc. F (Radar Signal Process.) 1993, 140, 107–113. [Google Scholar] [CrossRef]
  33. Arulampalam, M.S.; Maskell, S.; Gordon, N.; Clapp, T. A tutorial on particle filters for online nonlinear/non-Gaussian Bayesian tracking. IEEE Trans. Signal Process. 2002, 50, 174–188. [Google Scholar] [CrossRef]
  34. Liu, J.S.; West, M. Combined parameter and state estimation in simulation-based filtering. In Sequential Monte Carlo Methods in Practice; Springer: New York, NY, USA, 2001; pp. 197–223. [Google Scholar]
  35. Nelder, J.A.; Mead, R. A Simplex Method for Function Minimization. Comput. J. 1965, 7, 308–313. [Google Scholar] [CrossRef]
  36. Lunde, A. A Generalized Gamma Autoregressive Conditional Duration Model. Technical Report, 1999. Available online: https://www.researchgate.net/publication/228464216_A_generalized_gamma_autoregressive_conditional_duration_model (accessed on 7 September 2025).
  37. Bortoluzzo, A.B.; Morettin, P.A.; Toloi, C.M. Time-varying autoregressive conditional duration model. J. Appl. Stat. 2010, 37, 847–864. [Google Scholar] [CrossRef]
  38. Bhatti, C.R. The Birnbaum–Saunders autoregressive conditional duration model. Math. Comput. Simul. 2010, 80, 2062–2078. [Google Scholar] [CrossRef]
  39. Cunha, D.R.; Vila, R.; Saulo, H.; Fernandez, R.N. A general family of autoregressive conditional duration models applied to high-frequency financial data. J. Risk Financ. Manag. 2020, 13, 45. [Google Scholar] [CrossRef]
  40. Fernando, N.; Jeremias, L.; Saulo, H. Bayesian inference for the Birnbaum–Saunders autoregressive conditional duration model with application to high-frequency financial data. Commun. Stat. Case Stud. Data Anal. Appl. 2021, 7, 215–228. [Google Scholar] [CrossRef]
  41. Saulo, H.; Balakrishnan, N.; Vila, R. On a quantile autoregressive conditional duration model. Math. Comput. Simul. 2023, 203, 425–448. [Google Scholar] [CrossRef]
  42. Saulo, H.; Pal, S.; Souza, R.; Vila, R.; Dasilva, A. Parametric Quantile Autoregressive Conditional Duration Models With Application to Intraday Value-at-Risk Forecasting. J. Forecast. 2025, 44, 589–605. [Google Scholar] [CrossRef]
  43. Cavaliere, G.; Mikosch, T.; Rahbek, A.; Vilandt, F. Tail behavior of ACD models and consequences for likelihood-based estimation. J. Econom. 2024, 238, 105613. [Google Scholar] [CrossRef]
  44. Hautsch, N. Modelling Irregularly Spaced Financial Data: Theory and Practice of Dynamic Duration Models; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2004. [Google Scholar]
  45. Belfrage, M. ACDm: Tools for Autoregressive Conditional Duration Models, R package version 1.0.4.3. 2024. Available online: https://cran.r-project.org/web/packages/ACDm/ACDm.pdf (accessed on 7 September 2025).
  46. Goodell, J.W.; Goutte, S. Co-movement of COVID-19 and Bitcoin: Evidence from wavelet coherence analysis. Financ. Res. Lett. 2021, 38, 101625. [Google Scholar] [CrossRef]
  47. Burns, P. Robustness of the Ljung-Box Test and its Rank Equivalent. SSRN Electron. J. 2002. [Google Scholar] [CrossRef]
  48. Friedman, J.H. A Variable Span Smoother; Technical Report LCS Technical Report 5; Department of Statistics, Stanford University: Stanford, CA, USA, 1984. [Google Scholar]
Figure 1. Bitcoin prices (in US$) from 1 January 2019 to 31 December 2024.
Figure 1. Bitcoin prices (in US$) from 1 January 2019 to 31 December 2024.
Fintech 04 00051 g001
Figure 2. Predicted Bitcoin prices (in US$1000) vs. observed time series from 1 January 2019 to 31 December 2024.
Figure 2. Predicted Bitcoin prices (in US$1000) vs. observed time series from 1 January 2019 to 31 December 2024.
Fintech 04 00051 g002
Figure 3. Residuals boxplot for GFBM-CIR, GFBM-CONST, GOUFE-CIR, and GOUFE-CONST models. GFBM-CIR and GOUFE-CONST provide the lowest bias in forecasting the central trend.
Figure 3. Residuals boxplot for GFBM-CIR, GFBM-CONST, GOUFE-CIR, and GOUFE-CONST models. GFBM-CIR and GOUFE-CONST provide the lowest bias in forecasting the central trend.
Fintech 04 00051 g003
Figure 4. Residual dispersion plots for each model, which show that dispersion of residuals is not constant for the models.
Figure 4. Residual dispersion plots for each model, which show that dispersion of residuals is not constant for the models.
Fintech 04 00051 g004
Figure 5. QQ-plots of standardized residuals for each model, which show significant deviations from the reference line representing the standard normal distribution.
Figure 5. QQ-plots of standardized residuals for each model, which show significant deviations from the reference line representing the standard normal distribution.
Fintech 04 00051 g005
Figure 6. Autocorrelation function (ACF) plots of residuals for each model. For all models, we can see several bars exceeding the significance limits (plotted as blue dashed lines), which points to autocorrelation still present in residuals.
Figure 6. Autocorrelation function (ACF) plots of residuals for each model. For all models, we can see several bars exceeding the significance limits (plotted as blue dashed lines), which points to autocorrelation still present in residuals.
Fintech 04 00051 g006
Figure 7. Boxplot of durations for different relative price thresholds. The 0.10%-price-band threshold offers a balanced trade-off by capturing important market movements without being overly influenced by noise.
Figure 7. Boxplot of durations for different relative price thresholds. The 0.10%-price-band threshold offers a balanced trade-off by capturing important market movements without being overly influenced by noise.
Fintech 04 00051 g007
Figure 8. Intraday behavior of durations (GMT-3) for a relative price threshold of 0.10%.
Figure 8. Intraday behavior of durations (GMT-3) for a relative price threshold of 0.10%.
Fintech 04 00051 g008
Figure 9. Estimated intraday (GMT-3) duration pattern using the Super Smoother method.
Figure 9. Estimated intraday (GMT-3) duration pattern using the Super Smoother method.
Fintech 04 00051 g009
Figure 10. Adjusted duration (in seconds) histogram, showing that the majority of transactions is occurring in very short intervals, and also a long right tail.
Figure 10. Adjusted duration (in seconds) histogram, showing that the majority of transactions is occurring in very short intervals, and also a long right tail.
Fintech 04 00051 g010
Figure 11. QQ-plots of Cox–Snell residuals for each model. The Generalized Gamma closely follows the reference line confirming its good fit.
Figure 11. QQ-plots of Cox–Snell residuals for each model. The Generalized Gamma closely follows the reference line confirming its good fit.
Fintech 04 00051 g011
Figure 12. Cox–Snell residuals ACF plots for each model (lag = 35). Exceeding bars (that stretch outside of the region delimited by blue dashed lines) point to the presence of autocorrelation in residuals for all models.
Figure 12. Cox–Snell residuals ACF plots for each model (lag = 35). Exceeding bars (that stretch outside of the region delimited by blue dashed lines) point to the presence of autocorrelation in residuals for all models.
Fintech 04 00051 g012
Table 1. GOUFE models’ parameter estimates.
Table 1. GOUFE models’ parameter estimates.
ModelLog-Likelihood θ 1 θ 2 θ 3 κ ω ξ H
GOUFE-CIR20,888.660.01496340.0050392900.90510012.7908330.14545470.43707820.5511263
GOUFE-CONST31,871.260.01000000.0010282550.89997740.36243860.5461502
Table 2. GFBM models’ parameter estimates.
Table 2. GFBM models’ parameter estimates.
ModelLog-Likelihood μ κ ω ξ H
GFBM-CIR21,170.860.00098895542.7858460.10000000.36244600.5461402
GFBM-CONST25,599.410.00359634690.70000000.5413182
Table 3. RMSE, MAE, MAPE, R 2 , and bias for the prediction models (best metrics are in bold format).
Table 3. RMSE, MAE, MAPE, R 2 , and bias for the prediction models (best metrics are in bold format).
ModelRMSEMAEMAPE R 2 Bias
GFBM-CIR1201.802716.30090.02257260.99690029.7625
GOUFE-CONST1213.196716.22690.02259840.996982234.0668
GFBM-CONST1217.385722.60330.02275520.9967674−72.3004
GOUFE-CIR1235.990742.09120.02363120.9968740215.2351
Table 4. Information criteria (AIC, BIC, and EDC) evaluation for the models (best metrics are in bold format).
Table 4. Information criteria (AIC, BIC, and EDC) evaluation for the models (best metrics are in bold format).
ModelAICBICEDC
GOUFE-CIR46,161.3358,638.4446,249.44
GFBM-CIR46,725.7159,202.8246,813.82
GFBM-CONST55,582.8268,059.9455,670.93
GOUFE-CONST68,126.5180,603.6268,214.62
Table 5. Descriptive statistics of residuals for each model.
Table 5. Descriptive statistics of residuals for each model.
ModelMin.Q1Med.Q3Max.SD
GOUFE-CONST−8223.34−355.14−5.84311.587544.641212.72
GFBM-CIR−8147.72−341.432.81325.767610.121212.76
GFBM-CONST−7937.89−273.9542.36397.367757.971215.24
GOUFE-CIR−8620.95−558.77−116.96139.577359.551271.11
Table 6. Expected Shortfall at the 95% confidence level (ES95) for each model (best metrics are in bold format).
Table 6. Expected Shortfall at the 95% confidence level (ES95) for each model (best metrics are in bold format).
ModelES95
GOUFE-CIR−2764.197
GOUFE-CONST−3020.207
GFBM-CIR−3070.517
GFBM-CONST−3212.101
Table 7. Shapiro–Wilk test for the standardized residuals.
Table 7. Shapiro–Wilk test for the standardized residuals.
ModelWp-Value
GFBM-CONST0.8615 2.86 × 10 40
GOUFE-CIR0.8605 2.24 × 10 40
GFBM-CIR0.8597 1.87 × 10 40
GOUFE-CONST0.8593 1.70 × 10 40
Table 8. Ljung–Box test for standardized residuals (lag = 60 days).
Table 8. Ljung–Box test for standardized residuals (lag = 60 days).
ModelStatisticDFp-Value
GFBM-CIR160.651060 4.65 × 10 11
GFBM-CONST160.894260 3.67 × 10 11
GOUFE-CONST161.232260 3.29 × 10 11
GOUFE-CIR175.644760 2.80 × 10 13
Table 9. Descriptive statistics of durations by relative price threshold.
Table 9. Descriptive statistics of durations by relative price threshold.
Statistic0.05%0.075%0.10%0.15%
# of durations8893498331141579
Min.1111
Q11236
Median471021
Mean9.3116.6126.5852.44
Q311193161
Max.234362639980
SD14.5226.5445.0486.94
Table 10. Descriptive statistics of adjusted durations.
Table 10. Descriptive statistics of adjusted durations.
StatisticValue
Min.0.012
Median0.704
Mean1.055
Max.15.506
Standard Deviation (SD)1.168
Coefficient of Variation (%)110.618
Skewness3.877
Kurtosis26.698
Range15.494
Table 11. Exponential A C D ( 1 , 1 ) model parameter estimates.
Table 11. Exponential A C D ( 1 , 1 ) model parameter estimates.
ParameterEstimateSDp-Value
ω 0.04050.005190.000
α 1 0.10630.011840.000
β 1 0.96260.010040.000
Table 12. Weibull A C D ( 1 , 1 ) model parameter estimates.
Table 12. Weibull A C D ( 1 , 1 ) model parameter estimates.
ParameterEstimateSDp-Value
ω 0.04020.004400.000
α 1 0.10350.009890.000
β 1 0.96550.008210.000
γ 1.17220.015280.000
Table 13. Generalized Gamma A C D ( 1 , 1 ) model parameter estimates.
Table 13. Generalized Gamma A C D ( 1 , 1 ) model parameter estimates.
ParameterEstimateSDp-Value
ω 0.04690.005570.000
α 1 0.12260.011940.000
β 1 0.94730.011070.000
κ 20.71128.202360.016
γ 0.24640.049500.000
Table 14. A C D ( 1 , 1 ) models’ fit assessment (best metrics are in bold format).
Table 14. A C D ( 1 , 1 ) models’ fit assessment (best metrics are in bold format).
ModelLog-LikelihoodAICBICMSE
Exponential−3102.446210.886229.011.2376
Weibull−3034.896077.786101.951.2377
Generalized Gamma−2885.065780.135810.351.2381
Table 15. Expected Shortfall at the 95% confidence level ( E S 95 ) for each model (best metric shown in bold format).
Table 15. Expected Shortfall at the 95% confidence level ( E S 95 ) for each model (best metric shown in bold format).
Model ES 95
Generalized Gamma3.975315
Exponential4.075854
Weibull4.881840
Table 16. Ljung–Box test for Cox–Snell residuals (lag = 35).
Table 16. Ljung–Box test for Cox–Snell residuals (lag = 35).
ModelStatisticDFp-Value
Generalized Gamma35.16990330.3657253
Exponential36.02138330.3289920
Weibull41.00386330.1596591
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Carvalho, A.R.P.d.; Quintino, F.; Saulo, H.; Ozelim, L.C.S.M.; Fonseca, T.A.d.; Rathie, P.N. Multiscale Stochastic Models for Bitcoin: Fractional Brownian Motion and Duration-Based Approaches. FinTech 2025, 4, 51. https://doi.org/10.3390/fintech4030051

AMA Style

Carvalho ARPd, Quintino F, Saulo H, Ozelim LCSM, Fonseca TAd, Rathie PN. Multiscale Stochastic Models for Bitcoin: Fractional Brownian Motion and Duration-Based Approaches. FinTech. 2025; 4(3):51. https://doi.org/10.3390/fintech4030051

Chicago/Turabian Style

Carvalho, Arthur Rodrigues Pereira de, Felipe Quintino, Helton Saulo, Luan C. S. M. Ozelim, Tiago A. da Fonseca, and Pushpa N. Rathie. 2025. "Multiscale Stochastic Models for Bitcoin: Fractional Brownian Motion and Duration-Based Approaches" FinTech 4, no. 3: 51. https://doi.org/10.3390/fintech4030051

APA Style

Carvalho, A. R. P. d., Quintino, F., Saulo, H., Ozelim, L. C. S. M., Fonseca, T. A. d., & Rathie, P. N. (2025). Multiscale Stochastic Models for Bitcoin: Fractional Brownian Motion and Duration-Based Approaches. FinTech, 4(3), 51. https://doi.org/10.3390/fintech4030051

Article Metrics

Back to TopTop