The present invention relates generally to the prices of commodities or other assets, and more particularly to jointly estimating the Hurst exponent and the volatility of time series.
In general, prices of commodities or assets produce what is called a time series. All transactions on a financial market are recorded, leading to a huge amount of data available. Financial time series analysis is of great interest to practitioners as well as to theoreticians, for making inferences and predictions. Furthermore, the stochastic uncertainties inherent in financial time series and the theory needed to deal with them make the subject especially interesting not only to economists, but also to statisticians and physicists.
The following presents a simplified summary of the innovation in order to provide a basic understanding of some aspects of the invention. This summary is not an extensive overview of the invention. It is intended to neither identify key or critical elements of the invention nor delineate the scope of the invention. Its sole purpose is to present some concepts of the invention in a simplified form as a prelude to the more detailed description that is presented later.
The present invention relates generally to the prices of commodities or other assets, and more particularly to jointly estimating the Hurst exponent and the volatility of time series. The method described herein is designed to deal with financial time series. It is based on time-frequency decomposition, making it possible to estimate time-varying parameters. Specifically, Haar wavelets are used in the estimation in order to form a scale spectrum, and the estimated Hurst and volatility parameters derive from this.
In an aspect, the invention features a method comprising: in a computer system having at least a processor and a memory, the memory having at least an operating system, using wavelets to form a scale spectrum; and computing estimated Hurst and volatility parameters derived from the scale spectrum.
The wavelets may be selected from the group consisting of Han wavelets and Daubechies wavelets.
Hurst exponent and volatility parameters may jointly describe a statistical character of data vectors possessing local power law spectra.
In another aspect, the invention features a method comprising:
in a computer systems having at least a processor and a memory, the memory having at least an operating system, computing Haar wavelet coefficients, the Haar wavelet coefficients representing local averages of a data vector, the computing done at all possible averaging lengths and all possible center points for an averaging window;
for each location of the window, computing an energy (mean square value) of the Haar coefficients whose center points are within the window, computing the energy (mean square value) of the Haar coefficients determined separately for each group of Haar coefficients, based on a certain averaging length, the energy as a function of the Haar coefficient averaging length referred to as a scale spectrum; and
computing Hurst coefficient and volatility as a function of the moving window's center point derived from a slope and an intercept of the scale spectrum in a log-log plot.
The scale spectrum in the log-log plot may be a log energy of the Haar coefficients as a function of the log of the averaging length for the Haar coefficients.
In another aspect, the invention features an architecture comprising:
a network of interconnected computers; and
a link from the network to a computing device, the computing device having at least a processor and a memory, the memory having at least an operating system and a process to determine for jointly estimating a Hurst exponent and a volatility of time series, the process comprising:
computing Haar wavelet coefficients, the Haar wavelet coefficients representing local averages of a data vector, the computing done at all possible averaging lengths and all possible center points for an averaging window;
for each location of the window, computing an energy (mean square value) of the Haar coefficients whose center points are within the window, computing the energy (mean square value) of the Haar coefficients determined separately for each group of Haar coefficients, based on a certain averaging length, the energy as a function of the Haar coefficient averaging length referred to as a scale spectrum; and
computing Hurst coefficient and volatility as a function of the moving window's center point derived from a slope and an intercept of the scale spectrum in a log-log plot.
These and other features and advantages will be apparent from a reading of the following detailed description and a review of the associated drawings. It is to be understood that both the foregoing general description and the following detailed description are explanatory only and are not restrictive of aspects as claimed.
The invention will be more fully understood by reference to the detailed description, in conjunction with the following figures, wherein:
The subject innovation is now described with reference to the drawings, wherein like reference numerals are used to refer to like elements throughout. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It may be evident, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to facilitate describing the present invention.
As shown in
From a financial perspective, it is important to understand the local character of financial time series, for instance of daily oil prices. Below, we refer to the underlying time series as the data vector. We present herein a procedure for estimating this local character. The local character in our framework is given by the Hurst exponent and volatility. These two parameters jointly describe the local character of the data vectors assuming they possess local power law spectra. For realistic financial data vectors, the local character varies with time, and hence these two parameters also vary with time. Since the two parameters are important in various financial applications, it is essential to have robust methods to estimate them. We present here a novel procedure for jointly estimating the Hurst exponent and volatility and their variations with time.
In “classic” finance, one of the most important parameters is volatility. In fact, in so-called efficient markets, the Hurst exponent is supposed to be equal to the efficient market value of one-half. A focus on efficient markets has led to a lack of tools for detecting, characterizing and responding to periods of temporarily inefficient markets.
Consider four markets:
Example users of the methods described herein can be as follows.
The traders can use our characterization of the current market situation for three main purposes. First, they can price derivative contracts based on financial assets whose parameters have been identified via our process. The fair price will depend significantly on the estimated parameters, the Hurst exponent and volatility. The fair price can be computed, for instance, via Monte Carlo simulations.
Second, the trader can use our model to design a trading (hedging) scheme that is designed to replicate (or approximately follow) prices for certain derivatives, and, therefore, can be used as a tool for constructing a portfolio to reduce risk. The hedging scheme will significantly depend on the two parameters, the volatility and the Hurst coefficient, associated with the financial assets underlying the portfolio.
Third, a trader may want to construct a portfolio of financial instruments “optimally” designed to grow in value while balancing the risk for loss. To understand the nature or behavior of the underlying assets and the opportunities they provide for growth or gain the estimation of the two parameters, the volatility and the Hurst coefficient, is again essential.
First, with regular intervals, the risk of the firm's portfolio needs to be quantified. This risk changes fundamentally if, for instance, the markets move into a situation of inefficiency. Our estimation of the power law parameters provides an important input to the firm's basic risk management strategy. Specifically, to compute quantities like the value of risk or how much the value of a portfolio can go down with a certain probability, the management quants need the two parameters, the volatility and the Hurst coefficient.
Second, while working on developing investment strategies used by the front office, the back office needs to model the dynamics or typical evolution paths of the underlying assets. Again to do this estimation of the volatility and Hurst coefficient and how they have evolved in the past and then may evolve in the future is essential.
The detection of temporarily inefficient market behavior with a Hurst parameter larger than ½ (or different from ½) can be the manifestation of insider trading or market manipulation. The monitoring of the Hurst parameter can be seen as an instrument for detecting such behaviors.
Referring now to
Process 1000 considers (1200) a (new) window that moves over the data vector. For each location of the window, process 1000 computes (1300) the energy (mean square value) of the Haar coefficients whose center points are within the window. This calculation is made separately for each group of Haar coefficients, which is based on a certain averaging length. This energy, as a function of the Haar coefficient averaging length, is what we refer to herein as the scale spectrum. The scale spectrum in a log-log plot is essentially the log energy of the Haar coefficients as a function of the log of the averaging length for the Haar coefficients. Other representations, as a function of the inverse of the Haar coefficient averaging length for instance, are also possible.
In process 1000, for each center point of the moving window, we now have a scale spectrum. In the case that the underlying data vector comes from a “power law,” this scale spectrum will be linear in a log-log plot. The Hurst coefficient and volatility are then computed (1400) as a function of the moving window's center point and derives from the slope and the intercept of the scale spectrum in the log-log plot. Roughly, the volatility corresponds to the height (or intercept) of the scale spectrum and the Hurst exponent to the slope.
In the field of atmospheric turbulence, a wavelet-based estimator of the Hurst exponent alone was introduced in the past and subsequently applied to financial data. The method described herein distinguishes itself from that at least in several ways. First we estimate jointly the Hurst exponent and volatility. Second, we use the Haar coefficients differently, in that, we use all scales as averaging lengths for the Haar coefficients and not only the dyadic scales: 2j; j=1, 2, . . . . Third, we correspondingly get a scale spectrum over all scales and not only dyadic scales. Fourth, we use an original weighting of the data in the scale spectrum when we estimate the Hurst and volatility parameters. Fifth, we use a new approach for handling the data close to the boundaries of the moving window.
In
We show in
We compute the scale spectrum with respect to a moving window, as described above. The slope and the intercept vary with respect to the window's location. The Hurst exponent and volatility then derive from the slope and the intercept for each window location; they therefore become vectors indexed by time (which can be the window's center point). These derived vectors are the central quantities used by traders. Here and in the next figure, the West Texas data set corresponds to the red dashed line and the Brent data set to the solid blue line.
In
Using the same segmentation as in
Note that these special periods cannot easily be seen in the raw oil prices themselves in
The following explains the details of how the scale spectrum and the local power law parameters are calculated from the data vector (price data).
The input parameters are:
iii) The window size M that is the size of the time windows in which the local spectra are computed. We must have 1≤ji≤je≤M/2. Default values for ji, je, and M can be determined automatically from the size N of the data vector.
It is possible to estimate the power law parameters for all center times tn0, n0=1, . . . , N. We first give in the next subsection the general algorithm for the interior center times n0∈M/2, . . . , N−M+M/2, and then we extend it to the boundary center times n0∈{1, . . . , M/2−1}∪{N−M+M/2+1, . . . , N}.
Let us fix the center-time index n0∈M/2, . . . , N−M+M/2 and proceed as follows:
Q
j=log(P(tn0−└M/2┘+j)), j=1, . . . ,M
{circumflex over (b)}=(xTR−1X)−1XTR−1Y
In these equations:
We remark that the computed volatility is the volatility on the Δt time scale. The local volatility on the time scale τ=mΔt is {circumflex over (σ)}(tn0)mĤ(t
Boundary Center Times
The spectral information can also be computed for center-time index n0∈{1, . . . , M/2−1}∪{N−M+M/2+1, . . . , N}, but this requires narrowing the time window used to estimate the local power law parameters. For n0∈{1, . . . , M/2−1}, we can apply the algorithm for interior center times up to the following modifications. First, we replace M by {tilde over (M)}=n0−└M/2┘+M. Second, we replace the data vector Q in Eq. (1) by {tilde over (Q)}=({tilde over (Q)}j)j=1{tilde over (M)} data defined by
{tilde over (Q)}
j=log(P(tj)), j=1, . . . ,{tilde over (M)}
The center times n0∈{N−M+M/2+1, . . . , N} can be treated similarly.
We make explicit the dependence on the inertial range and time window ji, je, M. The result of the above procedure is the following. For a given time series of prices {P(tn),n=1, . . . , N}, for each center time tn0, n0∈{1, . . . , N}, we obtain the associated scale spectrum, the local Hurst exponent and the local volatility:
S(j,tn0,M), j∈{ji, . . . ,je},
Ĥ(tn0;ji,je,M), {circumflex over (σ)}(tn0;ji,je,M).
The time window's size M was chosen according to the scale of information we wanted to probe. In
It will be understood that various modifications can be made. For example, other useful implementations could be achieved if steps of the disclosed techniques were performed in a different order and/or if components in the disclosed systems were combined in a different manner and/or replaced or supplemented by other components. Accordingly, other implementations are within the scope of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
1771041 | Oct 2017 | FR | national |