Jump-Diffusion Model for Excess Volatility in Asset Prices: Generalized Langevin Equation Approach
Subject Areas : Financial and Economic Modelling
Mahdi Salemi
1
,
Hassan Khodavaisi
2
1 -
2 -
Keywords: Excess Volatility , First Time Passage Problem, Generalized Langevin Equation (GLE) , Kramers-Moyal coefficients , Potential Function,
Abstract :
The excess volatility puzzle refers to the observation of returns that cannot be explained only by fundamentals, and this research attempts to explain such volatilities using the concept of endogenous jumps and modelling them based on the generalized Langevin equation. Based on stylized facts, price behaviour in financial markets is not simply a continuous process, but rather jumps are observed in asset prices that may be exogenous or endogenous. It is claimed that the source of exogenous jumps is news, and the source of endogenous jumps is internal interactions between the agents. The goal is to extract these endogenous jumps as a function of the state variable and time. For this purpose, the generalized Langevin equation is introduced and it is shown that the parameters of this model can be extracted based on the Kramers-Moyal coefficients. The results of self-consistency tests to evaluate the accuracy of the Kramers-Moyal method in extracting the generalized Langevin equation show that this method has good accuracy. In a practical application of the aforementioned method, Ethereum cryptocurrency price data was used between October 2017 and February 2024 with a sampling rate of one minute. By simulating the extracted dynamics, the probability distribution of the first time passage of this cryptocurrency from a specific level was calculated, and an examination of the price behavior of this asset shows that the aforementioned distribution was extracted with good accuracy. The potential function, which is calculated from the first KM coefficient, will be a quadratic parabola for the studied process, and as a result, we have a stable equilibrium at the zero point. Also using the extracted dynamics we show that this model has good out-of-sample prediction ability.
[1] Cutler DM, Poterba JM, Summers LH. What moves stock prices? Cambridge, Massachusetts: National Bureau of Economic Research,1988. Doi:10.3905/jpm.1989.409212
[2] Joulin, A., Lefevre, A., Grunberg, D., Bouchaud, JP., Stock price jumps: news and volume play a minor role, arXiv preprint arXiv:0803.1769, 2008 . Doi:10.48550/arXiv.0803.1769
[3] Gopikrishnan, P., Plerou, V., Amaral, LA., Meyer, M., Stanley, HE., Scaling of the distribution of fluctuations of financial market indices, Physical Review E, 1999; 60(5):5305. Doi:10.1103/PhysRevE.60.5305
[4] Malevergne, Y., Pisarenko, V., Sornette, D., Empirical distributions of stock returns: between the stretched exponential and the power law? Quantitative Finance, 2005; 5(4): 379-401. Doi:10.1080/14697680500151343
[5] Farmer, RE., How the economy works: confidence, crashes and self-fulfilling prophecies, Oxford University Press; 2010.
[6] Shiller, RJ., Narrative economics, American economic review, 2017; 107(4): 967-1004.
[7] Greenwood, R., Hanson, SG., Shleifer, A, Sørensen, JA., Predictable financial crises, The Journal of Finance, 2022; 77(2): 863-921. Doi:10.1111/jofi.13105
[8] Farmer, J.D., Making Sense of Chaos: A Better Economics for a Better World, Yale University Press; 2024.
[9] Rinn, P., Lind, PG., Wächter, M., Peinke, J.,The Langevin approach: An R package for modeling Markov processes, arXiv preprint arXiv:1603.02036. 2016 Mar 7.
[10] Shiller, RJ., Do stock prices move too much to be justified by subsequent changes in dividends?.
[11] Wehrli, A., Sornette, D., The excess volatility puzzle explained by financial noise amplification from endogenous feedbacks, Scientific reports, 2022;12(1):18895. Doi: 10.1038/s41598-022-20879-0
[12] Namaki, A., Haghgoo, M., Detection of Bubbles in Tehran Stock Exchange Using Log-Periodic Power-Low Singularity Model, Iranian Journal of Finance, 2021;5(4):52-63.
[13] Abdolmaleki, H., Mohammadi, S., Kamali, S., Vaziri, R., Investigating the existence of a price bubble in the Tehran stock market using the LPPL approach.
[14] Campbell, JY., Cochrane, JH., By force of habit: A consumption-based explanation of aggregate stock market behavior, Journal of political Economy,1999;107(2):205-51.
[15] Izhakian, Y., Benninga, S., The uncertainty premium in an ambiguous economy, The Quarterly Journal of Finance, 2011;1(02):323-54.
[16] Cochrane, JH., Macro-finance, Review of Finance, 2017;21(3):945-85.
[17] Gennaioli, N., Shleifer, A., A crisis of beliefs: Investor psychology and financial fragility, Doi: 10.2307/j.ctvc77dv1
[18] Shiller, RJ., From efficient markets theory to behavioral finance, Journal of economic perspectives, 2003;17(1):83-104. Doi: 10.1257/089533003321164967
[19] Brunnermeier, M., Krishnamurthy, A., Corporate debt overhang and credit policy, Brookings Papers on Economic Activity, 2020; (2):447-502. Doi: 10.1353/ECA.2020.0014
[20] He, Z., Krishnamurthy, A., Intermediary asset pricing and the financial crisis, Annual Review of Financial Economics, 2018; 10(1):173-97. Doi: 10.1146/annurev-financial-110217-022636
[21] Hansen, LP., Sargent, TJ., Macroeconomic Uncertainty Prices. Working Paper Series 25781, National Bureau of Economic Research, 2019; Doi:10.3386/w25781; 2019 May 15.
[22] Hansen, L.P., Sargent, T.J., Structured ambiguity and model misspecification, Journal of Economic Theory, 2022;199:105165. Doi: 10.1016/j.jet.2020.105165
[23] Barro, R.J., Rare disasters, asset prices, and welfare costs, American Economic Review, 2009; 99(1):243-64.Doi: 10.1257/aer.99.1.243
[24] Case, K.E., Shiller, R.J., Thompson, A., What have they been thinking? Home buyer behavior in hot and cold markets, National Bureau of Economic Research, 2012. Doi: 10.2139/ssrn.2149000
[25] Shiller, R.J., Speculative asset prices, American Economic Review, 2014; 104(6):1486-517. Doi: 10.1257/aer.104.6.1486
[26]Araghi, M., Dastranj, E., Abdolbaghi Ataabadi A, Sahebi Fard H. Option pricing with artificial neural network in a time dependent market, Advances in Mathematical Finance and Applications, 2024; 2(2):723.
[27] Ghiasi, S., Parandin, N., A Kurganov-Tadmor numerical method for option pricing under the constant elasticity of variance model, Advances in Mathematical Finance and Applications, 2022; 7(3):527-33. Doi: 10.22034/amfa.2021.1891263.1363
[28] Halperin, I., Phases of MANES: Multi-asset non-equilibrium skew model of a strongly non-linear market with phase transitions, Annual Reviews in Modern Quantitative Finance: Including Current Aspects of Fintech, Risk and Investments, 2022; 97. Doi: 10.2139/ssrn.4058746
[29] Marcaccioli, R., Bouchaud, J.P., Benzaquen, M., Exogenous and endogenous price jumps belong to different dynamical classes, Journal of Statistical Mechanics: Theory and Experiment, 2022; (2):023403. Doi: 10.1088/1742-5468/ac498c
[30] Fosset, A., Bouchaud, JP., Benzaquen, M., Endogenous liquidity crises, Journal of Statistical Mechanics: Theory and Experiment, 2020; (6): 063401. Doi: 10.1088/1742-5468/ab7c64
[31] Gabaix, X., Koijen, RS., In search of the origins of financial fluctuations: The inelastic markets hypothesis. National Bureau of Economic Research, 2021. Doi: 10.2139/ssrn.3686935
[32] Merton, RC., Option pricing when underlying stock returns are discontinuous, Journal of financial economics, 1976; 3(1-2):125-44. Doi: 10.1016/0304-405X(76)90022-2
[33] Gardiner, CW., Handbook of stochastic methods for physics, chemistry and the natural sciences, Springer series in synergetics, 1985. Doi: 10.1002/bbpc.19850890629
[34] Risken, H., Risken, H., Fokker-planck equation, Springer Berlin Heidelberg, 1996.
[35] Tabar, R., Analysis and data-based reconstruction of complex nonlinear dynamical systems, Ber-lin/Heidelberg, Germany: Springer International Publishing,2019. Doi: 10.1007/978-3-030-18472-8
[36] Nikakhtar, F., Parkavousi, L., Sahimi, M., Tabar, MR., Feudel, U., Lehnertz, K., Data-driven reconstruction of stochastic dynamical equations based on statistical moments, New Journal of Physics, 2023; 25(8):083025. Doi: 10.1088/1367-2630/acec63
[37] Zucchini, W., MacDonald, IL., Hidden Markov models for time series: an introduction using R, Chapman and Hall/CRC; 2009. Doi:10.1201/b20790
[38] Ghanbari, M., Jamshidi Navid, B., Nademi, A., The improved Semi-parametric Markov switching models for predicting Stocks Prices, Advances in Mathematical Finance and Applications, 2024; 2(2): 367. Doi: 10.22034/amfa.2021.1923297.1565
[39] Pawula, RF., Approximation of the linear Boltzmann equation by the Fokker-Planck equation, Physical review, 1967;162(1):186. Doi: 10.1103/PhysRev.162.186
[40] Anvari, M., Tabar, MR., Peinke, J., Lehnertz, K., Disentangling the stochastic behavior of complex time series, Scientific reports, 2016; 6(1): 35435. Doi: 10.1038/srep35435
[41] Bouchaud, JP., Bonart, J., Donier, J., Gould, M., Trades, quotes and prices: financial markets under the microscope, Cambridge University Press, 2018; Doi: 10.1017/9781316659335
[42] Lehnertz, K., Zabawa, L., Tabar, MR., Characterizing abrupt transitions in stochastic dynamics, New Journal of Physics, 2018; 20(11):113043. Doi: 10.1088/1367-2630/aaf0d7
[43] Platen, E., Bruti-Liberati, N., Numerical solution of stochastic differential equations with jumps in finance. Springer Science & Business Media, 2010; Doi: 10.1007/978-3-642-13694-8
[44] Nadaraya, E.A., On estimating regression, Theory of Probability & Its Applications, 1964; 9(1):141-2. Doi: 10.1137/1109020
[45] Watson, G.S., Smooth regression analysis, Sankhyā: The Indian Journal of Statistics, Series A. 1964; 359-72.
[46] Darestani Farahani, A., Miri Lavasani, M., Kordlouie, H., Talebnia, G., Introduction of New Risk Met-ric using Kernel Density Estimation Via Linear Diffusion, Advances in Mathematical Finance and Appli-cations, 2022; 7(2): 467-76. Doi: 10.22034/amfa.2020.1896210.1397
[47] Arani, B.M., Carpenter, S.R., Lahti, L., Van Nes, E.H., Scheffer, M., Exit time as a measure of ecological resilience, Science, 2021;372(6547):eaay4895. Doi: 10.1126/science.aay4895
[48] Cover, T.M., Elements of information theory. John Wiley & Sons, 1999. Doi: 10.1002/047174882X
[49] Lin, J., Divergence measures based on the Shannon entropy, IEEE Transactions on Information theo-ry,1991 ;37(1):145-51. Doi: 10.1109/18.61115
[50] Manning, C.D., Foundations of statistical natural language processing, The MIT Press, 1999.
[51] Cochrane, J.H., Inflation determination with Taylor rules: A critical review. Available at SSRN 1012165. 2007.
[52] Mohamadi, M., Zanjirdar, M., On the Relationship between different types of institutional owners and accounting conservatism with cost stickiness, Journal of Management Accounting and Auditing Knowledge, 2018;7(28): 201-214
[53] Zanjirdar, M., Moslehi Araghi, M., The impact of changes in uncertainty, unexpected earning of each share and positive or negative forecast of profit per share in different economic condition, Quarterly Journal of Fiscal and Economic Policies,2016;4(13): 55-76.
[54] Nikumaram, H., Rahnamay Roodposhti, F., Zanjirdar, M., The explanation of risk and expected rate of return by using of Conditional Downside Capital Assets Pricing Model, Financial knowledge of securities analysis,2008;3(1):55-77
Original Research
Jump-Diffusion Model for Excess Volatility in Asset Prices: Generalized Langevin Equation Approach |
Mehdi Salemi, Hassan Khodavaisi * |
Department of Economics, Faculty of Economics and Management, Urmia University, Urmia, Iran |
Article Info Article history: Received 2024-10-29 Accepted 2025-03-02
Keywords: Excess Volatility First Time Passage Problem Generalized Langevin Equation (GLE) Kramers-Moyal coefficients Potential Function |
| Abstract |
The excess volatility puzzle refers to the observation of returns that cannot be explained only by fundamentals, and this research attempts to explain such volatilities using the concept of endogenous jumps and modelling them based on the generalized Langevin equation. Based on stylized facts, price behaviour in financial markets is not simply a continuous process, but rather jumps are observed in asset prices that may be exogenous or endogenous. It is claimed that the source of exogenous jumps is news, and the source of endogenous jumps is internal interactions between the agents. The goal is to extract these endogenous jumps as a function of the state variable and time. For this purpose, the generalized Langevin equation is introduced and it is shown that the parameters of this model can be extracted based on the Kramers-Moyal coefficients. The results of self-consistency tests to evaluate the accuracy of the Kramers-Moyal method in extracting the generalized Langevin equation show that this method has good accuracy. In a practical application of the aforementioned method, Ethereum cryptocurrency price data was used between October 2017 and February 2024 with a sampling rate of one minute. By simulating the extracted dynamics, the probability distribution of the first time passage of this cryptocurrency from a specific level was calculated, and an examination of the price behavior of this asset shows that the aforementioned distribution was extracted with good accuracy. The potential function, which is calculated from the first KM coefficient, will be a quadratic parabola for the studied process, and as a result, we have a stable equilibrium at the zero point. Also using the extracted dynamics we show that this model has good out-of-sample prediction ability.
|
1 Introduction
Do all observed jumps in asset prices have an external source or do some of these jumps arise from internal mechanisms? This is a question that has been raised as an open problem by Cutler et al. [1] and has been the subject of extensive research by economists and also by physicists interested in the financial field. According to Cutler's paper, observing stock price jumps when no news related to the stock was published at the time of these jumps requires us to look for factors other than news to explain the aforementioned jumps. In other words, large price fluctuations cannot be explained solely by relying on observed changes in fundamentals, and the amplitude of these fluctuations is greater than that predicted by fundamental models, therefore we must look for other factors to explain the additional fluctuations.The problem of the inconsistency of the volatility amplitude with the observed changes in fundamental factors, has been studied in more detail by Julin et al.[2]. based on the results of aforermentioned research, neither the news related to a single share nor the macroeconomic news alone can explain the frequency and amplitude of fluctuations observed in the returns of a single share. According to the results of this research, about 90% of the large fluctuations observed in the financial markets cannot be explained through the news seen in Bloomberg, Reuters or other main sources of information for investors, and in fact only about 5 to 10% of the fluctuations that are larger than 4σ can be explained based on news. Therefore, our problem in this research has two parts: 1- The first part which seeks to answer the question of what is the mechanism behind the observed jumps in asset prices? Do these jumps have an external stimulus or do mechanisms from within the system create them? 2- The second part, which must model and regenerate the jumps observed in real data.
If we accept the exogeneity of the jumps based on the standard theories in the economics, then statistically we reach an obvious contradiction, because the real observations confirm the existence of fat tails in asset returns [3,4]. The presence of the fat tails in the distribution of related data, indicates that fluctuations with a large amplitude have a high frequency and have been repeated in a large number. Therefore, if we accept that the fluctuations with large amplitude caused only by news, then we will come to a contradiction about the frequencies, because the frequency of the news is far less than the frequency observed in jumps. The standard view in economics considers these fluctuations to be caused by external shocks [5]. But in the modern view, that is, complex systems theory, system dynamics are considered based on the combination of the effect of the internal interactions of the agents (endogenous shock) and the effect of external shocks (news). The internal interactions of the agents in the financial markets is mainly caused by narratives formed in social networks, herding behavior and imitation of other traders[6] or by the fear and greed of traders[7] which ultimately leads to over-reactions or under-reactions observed in the market.The purpose of the reconstruction of the stochastic process that we do in this research is to extract the dynamics of asset prices in the short term between two macro shocks and to reconstruct endogenous jumps that cannot be explained based on external shocks. As we will see below, jump-diffusion models allow us to have large and of course endogenous jumps even in the absence of macro news, and this is something that is more consistent with the reality of financial markets, because if the price behaviour in the financial markets are formed based on the hypothesis of rational expectations, then according to the claim of this theory - about the rapid adjustment of prices and the rapid formation of a new equilibrium after the occurrence of a shock - prices should have exhibited perturbative behaviour (small fluctuations around the new equilibrium) until the next external shock occurred. But Cutler, et al.[1]; Joulin, et al.[2] and Farmer[8] show that, in the real world we see jumps in asset prices even in the absence of news affecting stocks. By adding endogenous shocks to the problem, we can propose the idea that "the market makes its own news", which means that even in the absence of external shocks and due to the internal interaction of the agents, the market can have non-perturbative dynamics. Our goal in general is to extract the macroscopic behaviour of the system (and here the price as the macroscopic behavior of the market) from the observations. We note that extracting macroscopic behavior means that although the price is the result of the microscopic interaction of individual traders in the market, but here we model the price behavior only based on the previous state of the price itself without considering the microscopic factors behind it and for this purpose we do not specify a specific parametric model. In this research, our model will have the general form of a stochastic differential equation and the coefficients of this SDE will be extracted analytically based on Kramers-Moyal coefficients. Also, we show that the jump amplitude and jump rate can be extracted analytically based on higher moments. Our other contribution in this research is introduction of the quantity Q, which is calculated based on the 4th and 6th moments and is a practical criterion for choosing between the diffusion and the jump-diffusion models in the real world. We evaluate the accuracy of our method through the reconstruction of a known process and we also provide a practical application of KM method in finance.In one of the practical applications presented in this research, the importance of extracting process dynamics compared to extracting its probability distribution is evident. By extracting the probability distribution of a process and then sampling from it, we can answer only the questions where temporal order and sequencing is not important, for example calculating VaR over a given period. But the problem of first passing of the process value from a specific level in a given day is an example of a problem that shows the importance of extracting the dynamics of a stochastic process because two processes with the same probability distribution can have different dynamics. For example, the simple Ornstein-Uhlenbeck process with a drift coefficient of −x and a diffusion coefficient of 1 has a normal probability distribution ~N(0,1) and at the same time a complex stochastic process with drift coefficient −x3+x and diffusion coefficient x2+1 also has the same distribution [9]. That is, by having the probability distribution of the return, the probability of a specific level of loss can be calculated, but to calculate the probability of the occurrence time of such a loss, the dynamics of the process must be available. Considering that if there is a jump in the stochastic process, in the general case there is no analytical solution for the first passage time distribution, then for a practical case we have obtained this distribution by simulating the extracted dynamics. In problems related to stochastic processes, the passing of the process value from a specific level at a certain time is known as the first time passage problem. In this research, we will use this concept and the mathematical tools available in this field to calculate the probability distribution of the occurrence of a certain level of loss or return.Next, in the second part, we will have the theoretical foundations and literature review, and in the third part, the Kramers-Moyal coefficients and their relationship with the parameters of the Langevin equation will be presented. In the fourth part, we will have the practical extraction of Ethereum cryptocurrency dynamics, and finally, the fifth part is dedicated to the conclusion.
2 Foundations and Literature review
The observed jumps in the interval between two external shocks are additional fluctuations observed in asset prices that cannot be explained by the changes in its intrinsic value. Put it differentially, when an exogenous shock occurs, due to the change of fundamental factors and as a result of the change in the expected future cash flows, the intrinsic value of the assets also changes but the amount of price fluctuation observed in the market is not consistent with the estimated change in intrinsic value. This problem is known as the excess volatility puzzle in financial literatures [10]. Existing theoretical foundations to explain the phenomenon of excess volatility observed in asset prices can be divided into two main categories:
1) The first category is based on the formation of emotions and the occurrence of overreaction (or underreaction) in the behaviour of market agents at the time of shock. Among the famous theorists in the field of behavioural finance, Robert Shiller, a Nobel Prize winner in 2013, considers economic narratives formed in the social networks as the factor that stimulates market agents [6]. In his opinion, in the light of the existence of a positive feedback mechanism in the behaviour of market agents, a small noise can be intensified and become an effective shock in forming a price bubble. The amplification of small shocks and their transformation into bubbles and large price fluctuations has been proposed by George Soros, a famous capital market activist, in another theory called the "reflexivity theory". The idea of reflection, which indicates the existence of a circular behaviour between agents in financial markets, was implemented in a model called LPPL(Log-Periodic Power-Law) which inspired by the behaviour of spins in statistical physics and in fact it is an application of the Ising model in the field of finance[11]. In two separate domestic studies [12,13], the LPPL model has been used to explain the excess fluctuations observed in prices on the Tehran Stock Exchange, and the results show that the aforementioned model is capable of modelling the positive feedback mechanism in the behaviour of market agents with good accuracy.
2) The second group are theories that still based on the maximization of marginal utility and try to explain the excess volatility by considering the household risk aversion rate as a time varying parameter under macroeconomic shocks [14] or by adding the concept of ambiguity aversion to the utility function of household [15]. The study of this type of models shows that the goal is still to derive the fundamental equation (According to Cochrane [16], the basic equation for pricing capital assets is where
=
+ Rf is the total return.
is the risk premium and Rf is the risk-free return and
) for capital asset pricing using the Euler equation, with the difference that in these types of models, the household utility function is considered with a time-varying risk aversion rate or with a new parameter named ambiguity aversion in order to achieve a model that is capable of generating the excess volatility observed in real data.
An examination of the models presented based on the above theories shows that the main goal of these models is to produce an unusual and large amplitude of fluctuations. While in addition to the problem of large amplitude of fluctuations in observations, there is also the problem of the existence of high-frequency jumps, so that this point has not been considered in previous models. However, in this research, as an innovation, a model is extracted that is able to generate the large frequency observed in the data in addition to generating a large amplitude of fluctuations.Studying of the previous researches shows that various models have been proposed to investigate the excess volatility puzzle, including behavioural models [7,17,18] the time-varying risk aversion model[14,16], intermediary asset pricing models[19,20], ambiguity aversion models [21,22], rare event models[23] and models based on growth probability assessment[24,25].Based on the data, the long-term mean of stock risk premium is about 7%, which fundamental factors cannot explain it[10]. in fact, the long-term mean of stock risk premium what is obtained based on fundamental factors, is about 4%. One of the models presented to solve the observed contradiction between the real data and the results of the models is the time-varying risk aversion model [14,16], which based on this model the difference between the two values of the observed risk premium and the calculated risk premium from the Euler equation-in the household consumption optimization problem- refers to the difference in the rate of risk aversion during boom and recession. This means that during the period of boom, the risk aversion of the household is lower than it during the period of recession, and this causes households to have a lower expected return from risky assets during the period of prosperity, and as a result, during this period the demand for risky assets and, of course, their price increases. this mechanism makes the stock risk premium more than what can be explained based on consumption growth. Another solution that has recently been proposed to solve this puzzle is the intermediary asset pricing model. In this type of models, it is claimed that the risk-bearing capacity of financial intermediaries depends on the possibility and opportunity of financial leverage by them, and therefore changes in the risk-bearing capacity of financial intermediaries in light of changes in financial leverage opportunities cause asset price fluctuations[19,20]. Also, models based on the concept of ambiguity aversion have been introduced to solve the puzzle of excess volatility, and based on this view, increasing uncertainty about the expected return of an asset causes its price to decrease. As variable risk aversion models, it is claimed that the ambiguity aversion can have a similar effect on the asset price. This means that if the uncertainty about the expected return of an asset increases, then the investor in addition to risk premium also demands ambiguity premium, and therefore, in order to compensate for this uncertainty, the price of the asset will decrease more than in the case where there is only the effect of risk aversion[15].Along with the models presented by economists to investigate excess volatility in financial markets, researchers from the field of physics and complex systems have also presented models to explain this phenomenon by adding the concept of endogenous shocks to the problem, which come next. After the introduction of the basic Black-Scholes model, various models have been introduced for pricing options using stochastic differential equations, including models such as Mikhailov-Nogel model [26] or Kurganov-Tadmor model [27] ,... . But the research by Halperin [28] is based on the simulation of the Langevin equation and therefore it is closer to our research. In the mentioned research, after applying assumptions on the form of the potential function and calibrating the coefficients of the Langevin equation, the resulting model as generalization of the Black-Scholes model has been used to predict the option price. In the research[29], which was performed by examining stock-specially news in a five-year period on 300 stocks, It is claimed that the properties of exogenous jumps are different from the properties of endogenous jumps that are observed in the absence of stock-specific news, so that exogenous jumps are sudden-which is acceptable considering the randomness of their source, i.e. news-but the characteristic of endogenous jumps is that they follow an accelerated growth in fluctuations and are also affected by the system's memory and are predictable. In two separate studies [11,30] about endogenous jumps, the occurrence of these types of jumps are explained based on the existence of a positive feedback loop and the amplification of noise in the behavior of market agents. The results of the mentioned researches show that, a small external shock is amplified in the long term with a factor of 5 in the stock market [11,30] and with a factor of 2 [11] in the foreign exchange market, due to the existence of positive feedback loop. Such a result has been investigated and confirmed with a different method from the mentioned researches by using instrumental variables and under the Inelastic Markets Hypothesis [31]. Based on this hypothesis, if an external shock causes to enter one percent of new capital to the stock market, then we will see a five percent increase in the stock market value in a one-year horizon. Now, based on what has been said, the diffusion-jump model is introduced. Relying on the results of the aforementioned researches and accepting the existence of weak and strong positive feedback mechanisms in different phases of the market, price fluctuations can be considered to include two parts of diffusion and jump, so that the diffusion part represents the fluctuations that are formed due to the mechanism of weak positive feedback, but the endogenous jumps are formed due to the presence of strong positive feedback in the behaviour of agents. A basic model for modeling jumps in financial markets is the Merton’s jump-diffusion model[32], which is a generalization of the Black-Scholes equation and has the following form:
| (1) |
(2) |
| (3) |
(4) |
| (5) |
| (6) |
| (7) |
| (8) | |
| (9) |
| (10) |
| (11) | |
| (12) | |
| (13) | |
| (14) |
| (15) |
| (16) |
| (17) |
|
Fig. 1: Q-τ curve for synthetic data Source: Research findings |
According to the extracted Q diagram in Fig. 1, it can be concluded that the studied process should be modeled with the jump-diffusion model, and this result was expected considering the nature of our synthetic signal. The probability distribution used to calculate the moments has been extracted by the kernel density estimation method with Epanechnikov kernels[44,45,46]. Estimated results for jump rate and jump amplitude are given in Table 1:
Table 1: values for jump rate and amplitude | ||
|
|
|
1 | 0.1 | Real value |
0.9480 | 0.1066 | Estimated value |
Source: Research findings |
|
|
Fig. 3: Diffusion coefficient: extracted value | Fig. 2: Drift coefficient: estimated curve from KM method outputs(green) is good fitting for real value(red)
|
Source: Research findings |
According to Fig 2, the curve estimated based on the Kramers-Moyal coefficients(green) matches the actual curve α(x)= -10x(red). Also, according to Fig 3, the curve 2(x)=4x2 that estimated based on the Kramers-Moyal coefficients(green) confirms the actual value of the diffusion coefficient, namely β(x)=2x(red).
4 Practical applications of the KM method for extracting the ETH-USD dynamics
In this section, as an example of the application of the KM method in extracting the dynamics of real stochastic processes, we consider the price process of the Ethereum cryptocurrency. To extract the short-term price dynamics of this cryptocurrency, we get data from the cryptoarchive.com website for free by sampling rate one minute from October 17, 2017 to February 2, 2024.
The reason for choosing Ethereum cryptocurrency was that the Kramers-Moyal method requires a large amount of data to extract the parameters more accurately, and therefore, considering the age of this cryptocurrency compared to new cryptocurrencies and the existence of a sufficient number of observations for it (about 3 million data), the problem of limited data will be solved. Of course, the problem of having a sufficient data can also be solved by using Bitcoin data, and there is no preference between the two, but the reason for choosing this cryptocurrency instead of Bitcoin is the failure to obtain a stationary process even from the logarithmic return of Bitcoin. Since one of the conditions for using the Kramers-Moyal method is the stationarity of the process, it was preferred to use the price data of the Ethereum cryptocurrency because its logarithmic return is stationary.
Similar to the steps in Section 3.2, we again first determine the appropriate model for the underlying data generation process using the quantity Q. For this process, the behaviour of quantity Q with respect to τ is shown in Fig. 4:
|
Fig. 4: Q-τ curve for real data |
Source: Research findings |
Again, according to Fig. 4, the quantity Q is horizontal and independent of τ, and therefore the appropriate model for this process is the jump-diffusion model. The extracted values for drift coefficient, diffusion coefficient, jump amplitude and jump rate for daily periods are listed in Table 2:
Table 2: parameters of jump-diffusion model | |
-1404x | Drift coefficient |
31.3x | Diffusion coefficient |
0.00003 | Jump Amplitude |
1290 | Jump rate |
Source: Research findings |
The interpretation of the extracted drift coefficient is indirect and based on the definition of the potential function. The potential function U(x), which ①limits the behaviour of a process, ②forms stable and unstable equilibria, and ③determines the resilience of the system, can be extracted from the drift coefficient because we have [47]:
α(x)= -U(x)
For the practical case studied and according to the results in Table 2, the drift coefficient has been extracted as a linear function, and therefore the corresponding potential function will be a quadratic parabola, and as a result, the process under study will have a stable equilibrium at zero point (Fig 5). Interestingly, the smaller the extracted drift coefficient and consequently the wider the resulting parabola for the potential function, we expect the amplitude of fluctuations around the equilibrium to be large, which is equivalent to a small decay rate, long mean revert time, and high entropy for the process. Conversely, the narrower the resulting parabola, we expect the amplitude of fluctuations around the equilibrium to be small.The extracted diffusion coefficient for the real process under study has a larger value than the diffusion coefficient of the synthetic process in the previous section, and therefore, by comparing this parameter for the two aforementioned processes, it can be concluded that in the real process under study, a stronger positive feedback loop is formed than in the synthetic process introduced. In other words, if the same noise is imposed to both systems above, then the noise amplification in the system with a larger diffusion coefficient will be more severe. In other words, when a shock occurs, the process with a larger diffusion coefficient will experience a larger amplitude of fluctuations around the equilibrium. According to the concepts expressed for the coefficients of the jump-diffusion model introduced in Eq. 10, the small jump amplitude extracted in Table 2 indicates that the market for this cryptocurrency is deep and has high liquidity, and in other words, the probability of the market being locked is low for this case. By implementing related SDE using the results of the Table 2 and solving it numerically, it is possible to generate the random trajectories of this process. The numerical solution method used to integrate the extracted dynamics, again is the Euler-Maruyama method as in the previous section. An example of the trajectory generated for the log-return along with the real data trajectory is shown in Fig. 5:
|
Fig. 5: sample reconstructed log-return vs real log-return |
Source: Research findings
4.1 Self-consistency test to evaluate the accuracy of reconstruction
The self-consistency test is used to check the accuracy of the reconstruction of an unknown signal. In deterministic signals, after reconstruction we have a certain trajectory, but when reconstructing random signals, we will have different random trajectories of the reconstructed signal. To check the accuracy of a reconstruction, it is necessary to compare the probability distribution of the original signal with the reconstructed signal. Two well-known tests for self-consistency are the Kullback-Leibler divergence test[48] and the Jensen-Shannon divergence test[49,50]. In these tests, as much as the calculated divergence between the probability distribution of the original signal and of the reconstructed signal be closer to zero, it indicates the goodness of fitting of the coefficients so that the zero score for divergence indicates the two distributions are identical. KL-div is defined as follows:
| (18) |
|
(19) |
Table 3: Self-consistency test | |
0.004 | KL-div |
0.036 | JS-div |
Source: Research findings
The values close to zero for both self-consistency tests indicate the accuracy of the Kramers-Moyal method in reconstructing the unknown signal. In the following, an example of the random trajectories of the studied process (with specifications in Table 2) with the starting point x=2500 and in the time horizon of one day is showed in Fig. 6, and also by simulating the dynamics of this process 10,000 times, we get the probability distribution of daily losses as showed in Fig. 7: