2.1. The General Method
The Fourier transformation is an over 200-year-old tool mostly applied to analyze frequencies in a signal (spectral analysis) or to solve an arbitrary set of linear partial differential equations. First, the Fourier series is introduced.
Any periodic function
can be written as a series of harmonic functions:
Here a period of
has been assumed so that
. The coefficients
and
are determined by
A proof of Equation (2) is performed by inserting
of Equation (1) into Equation (2) and performing the integration. A Fourier series exists only if the integrals of Equation (2) exist. Of course anything can be found in books like e.g. (Bronshtein et al. 2007)
The interpretation of the Fourier transformation is as follows. The function is changing over time. If it is changing “rapidly,” it is a high frequency, if it is changing “slowly,” it is a low frequency. In a general function there are of course slow and rapid changes. It is a mixture of frequencies. The and are the amplitudes of the set of frequencies. So the Fourier transformation analyses quantitively how much a financial assets changes e.g. on a daily, monthly, or yearly bases.
Before discussing the application for financial assets, there are other “versions” of a Fourier transformation. Instead of having discrete frequencies, continuous frequencies can be applied.
or
are then becoming a function rather than a set of discrete parameters. This leads to the so-called Fourier transformation. The Fourier transformed
of a not necessarily periodic function
is defined by
As usual
. There is also a backward transformation given by
The proof of Equations (3) or (4) is again performed by inserting Equation (3) into Equation (4) or vice versa. The Fourier transformed exists if the integral in Equation (3) exists. Equation (4) is the continuous analogue to Equation (1). The sum in Equation (1) is transformed into an integral and the discrete coefficients
and
are now a function
. The absolute value
is the “amplitude” of this particular frequency
. Please do not be confused that
has complex values (even if
is real). The identity
shows that the real part of
corresponds to
and the imaginary part to
. In this sense one sometimes speaks of the cosine or sine transformed function. In the same token one may use Equation (5) to rewrite Equation (1) into
with
given by
Equations (6) and (7) are only a different writing of Equations (1) and (2).
With this short course in mathematics, we can show how this can be used in evaluating financial assets. The price of anything (and especially financial products) can be displayed by a function . If the financial product is a stock or similar, its price may change rapidly or with high frequency. In the classical interpretation of (Fama 1970) there are random fluctuations. Meanwhile it had been proven that they are chaotic (Klinkova and Grabinski 2017b). At least for stocks where there is an underlying value of a company, the change in price should reflect the change in company value or better expected future value.
In a fixed interest financial product there is no risk (except for the underlying currency) and therefore no fluctuation. Therefore fluctuations are taken for a measure of risk. The most often used approach is volatility or standard deviation. There are more advanced methods which are cum grano salis based upon volatility.
Using Fourier analysis to scrutinize risk is a method suggested by (Schädler 2018). The idea behind it goes as follows. The (changing) price of a stock should reflect the (future) value of the company. However, the price of a stock may change within a millisecond (or shorter). The (conserved) value of a company may change over months or even years. Obviously fast changes are due to pure speculation. As a typical example consider the stock of VW, German car manufacturer. In fall 2008 its stocks gained and loosed fourfold within a week (Appel and Grabinski 2011). The explanation for it was simple. There was a takeover poker with Porsche, a German sports car manufacturer. However, the “real” value of Volkswagen did not butch at all during that week. That led to the concept of conserved value (cannot change rapidly) and speculation (Appel and Grabinski 2011). It is also the main idea behind using Fourier analysis to access risk. If the amplitudes for high frequencies (e.g.
of Equation (7)) are “big” compared to the others, it is “irrational” (a term phrased by (Schädler 2018)), speculation and with-it risk is dominant. Therefore (Schädler 2018) introduced the ratio
is the amplitude of a frequency
which is still considered reasonable (e.g.
). The closer the ratio of Equation (8) is to
, the lesser is speculation or irrationality. To choose
is of course arbitrary. However, one may also scrutinize the entire spectrum of
and draw conclusions from it.
In
Table 1 some results from (Schädler 2018) have been displayed. For exactly how these irrationalities are calculated see (Schädler 2018) and (Schädler and Steurer 2019). Some of it will be discussed in section 2.2. These three particular stocks will be reconsidered in
Section 3.
Up to now we have shown the fairly new method of using Fourier transformation to access risk. In what follows we will discuss problems and shortcomings of this approach.
2.2. Previous Shortcomings
The general technique from the last section has been used in e.g. physics for centuries for e.g. analyzing radio signals from far away solar systems in order to discover orbiting planets. It is also a standard tool to solve linear differential equations. The theory and especially its applications in the real world are for sure correct.
For the application here there is a severe difference. We do not have a
function . We just have discrete quotes for prices. This does not look like a severe problem as
Figure 1 shows the end of day prices of BASF SE (a German chemical giant) for 5050 trading days.
Though the graphics of
Figure 1 looks like a perfect approximation for a function
, it isn’t one for principle reasons. There are 5050 discrete points which aren’t equally distant. Within 20 years there are typically 5050 trading days as the stock market formally closes over the weekend and some holidays. Formally speaking, any integral over a “function” displayed in
Figure 1 is zero.
Stock prices are quoted much more often than daily. Though there is partly a price every millisecond, sometimes it takes many minutes for a new price. But even considering any quoted price, the problem of discrete prices does remain. Furthermore such historic values are hard to get, make different stocks not comparable as their prices are quoted at different times, and would lead to tremendous amounts of data. From
Section 3 it would be clear that even the 5,050 prices considered here do lead a huge CPU time.
In experimental physics (especially astronomy) there are also discrete values which should be Fourier transformed. They are not a discrete series in itself. Normally it was not possible to measure the signals continuously. This is in contrast to the financial data. Prices on the stock market do not exist between two quotes. As the price of a stock is in almost all circumstances far away from the conserved value (Appel and Grabinski 2011) of the company considered, it does not make sense to speculate about continuous prices.
A function being Fourier transformed via Equations (1) and (2) must be periodic. The transformation involving Equations (3) and (4) need an integrable function running form minus infinity to plus infinity. Obviously neither requirement is met by a “function” like in
Figure 1. Of course it is easy to make the function periodic just as it is done in solid states physics. Or for using Equations (3) and (4) it can be assumed a function running from minus infinity to plus infinity just by setting it to zero outside the regime displayed in
Figure 1.
In (Schädler 2018) and (Schädler and Steurer 2019) the problem has been omitted by using a discrete Fourier transformation. It is the analog to a continuous Fourier transformation for a set of discrete numbers. It is textbook knowledge (Bronshtein et al 2007) and has been applied to e.g. random numbers (Lanczos and Gellai 1975) where a “normal” Fourier analysis is not possible as a random function is not integrable (at least not by using Riemann integrals). A discrete Fourier analysis is considered an approximation to the Fourier analysis of Equations (1) and (2). It is not clear how big the mistake of this approximation is here but it seems to be small.
The main limitation in (Schädler 2018) and (Schädler and Steurer 2019) was that frequencies
were not considered. It has been because all values were observed on a daily basis only. So frequencies
are for sure nonsense. Considering frequencies at least ten times lower avoids for sure nuisance effects. On the other hand, 10 days are two trading weeks. What if the main “irrational” fluctuations appear in this period? Just by observing the stock market it looks like that there are typically highly fluctuating weeks rather than months. As an archetype example just consider the “crazy” week of the VW stock in fall 2008 mentioned in
Section 2.1 (Appel and Grabinski 2011). By considering frequencies
such purely speculative fluctuations are excluded. And indeed, chapter 4 will prove that the main effect appears within frequencies
(and
).
Besides considering too low frequencies, (Schädler 2018) and (Schädler and Steurer 2019) considered the squares of the amplitudes . Squares make “small things smaller and big things bigger.” However, squaring is unlike the Fourier transformation not a linear transformation. Therefore the results depend on the chosen dimension. Here it depends on whether the stocks are quoted in € or Yen and the time is measured in days or seconds. Taking the square will amplify differences. Why not taking the fourth, sixth, eighth, or tenth power? In doing so differences which are below the measurement accuracy will suddenly appear to be within the accuracy.
It does not help that this squaring is often wrongly used. Even by performing a least square fit it is supposed to be a “least absolute value fit” (Grabinski and Klinkova 2020). In (Schädler 2018) and (Schädler and Steurer 2019) the squaring was used because they wanted to scrutinize the power spectrum. However, this is no justification here. In the before mentioned radio signals from outer space a power spectrum or squared amplitudes do make sense. Directly measured is an electric (or magnetic) field. The amplitudes of this electromagnetic field are almost meaningless from the physical point of view. As the energy or here energy current is a conserved quantity which is proportional to the square of an amplitude, scrutinizing the squares of the amplitudes scrutinizes the (conserved) energy pro time which is also known as power (measured in e.g. Watts). (Therefore the name power spectrum)
Transferring this one-to-one into the financial world is ludicrous. The price of a stock and also its square is not a conserved value (Appel and Grabinski 2011). Therefore the fluctuations which are due to speculation and with it risk. It does not help to square the prices or here their changes per time.