Abstract
We consider options that pay the complexity deficiency of a sequence of up and down ticks of a stock upon exercise. We study the price of European and American versions of this option numerically for automatic complexity, and theoretically for Kolmogorov complexity. We also consider run complexity, which is a restricted form of automatic complexity.
Introduction
In this article we consider the pricing of American and European options paying the complexity deficiency, or intuitively the lack of complexity, of a sequence of up and down ticks for a financial security. The complexity notions we consider are plain and prefix-free Kolmogorov complexity, nondeterministic automatic complexity, and run complexity.
Motivation
We believe it may be of value in finance to have some notions of the complexity of a price path. Agents may want to insure against too complex or too simple price paths for a stock, for example. A very simple or complex path may be a sign that something is going on that the agent is not aware of.
Weather is somewhat periodic, and automatic complexity measures periodicity, to some extent. Hence a complexity option may be used as a weather derivative.
Casino owners may want to ensure that their casinos are truly random, so as to avoid unexpected losses. In general, anyone who makes an assumption of randomness may want to hedge that, as true randomness is not easy to guarantee, or even completely well-defined.
powerful enough to discern a variety of patterns, and at the same time single-exponential time computable,
may be a promising middle ground.
Automatic complexity and the idea of complexity deficiency
Kolmogorov complexity is an important notion that in a way is to complexity as Turing computability is to computability. It is computably approximable, but unfortunately not computable. As a remedy, Shallit and Wang (2001) defined the automatic complexity of a finite binary string x = x 1 … x n to be the least number A D (x) of states of a deterministic finite automaton M such that x is the only string of length n in the language accepted by M.
Automatix complexity is computable, but it does have a couple of awkward properties that make us want to tweak its definition. First, many of the automata used to witness the complexity have a dead state whose sole purpose is to absorb any irrelevant or unacceptable transitions. Second, some strings x = x
1 … x
n
have a different complexity from their reverse x
n
… x
1. For instance (Hyde and Kjos-Hanssen 2014; Hyde and Kjos-Hanssen 2015),
We tweak the definition of automatic complexity by introducing nondeterminism.
Moreover, and most importantly for the present paper, A N gives rise to a striking instance of the idea of complexity deficiency:
Experimentally we have found that about half of all strings have D n (x) =0 (Hyde and Kjos-Hanssen, 2015). We call such strings complex, and other strings simple, herein.
Option types: Perpetual, American, European
We shall consider the following types of options and their prices. This is the price of the perpetual option that pays out the deficiency D
n
(x) when we exercise the option at a time n. (Perpetual here means that we can exercise the option at any time step labeled by a nonnegative integer.) The price of a perpetual option is the supremum, over all exercise policies τ, of the expected payoff when using τ. There is no restriction that τ be computable (and in fact computable before the next market time step occurs), but if that were to become an issue one would presumably change the definition accordingly. This is the price of an American option that we can exercise at any time step labeled by an integer between 0 and n. This is the price of the European option with expiry n; in this case we must exercise the option at time n, if at all, and so . We assume the underlying probability distribution is given by the fair-coin measure. In a finance setting it could more generally be given by the risk-neutral measure determined from a stock price process.
We have
For the third inequality, there are two cases.
Case 1: is almost surely finite. Note that D n is integer-valued, so will be realized at some finite stage n 0. Let us call magically prescient the strategy which waits for to be realized and then exercises the option. By contrast, an exercise policy should be a stopping time, i.e., it should not depend on future outcomes. We see that the payoff from the magically prescient strategy has a higher price than any exercise policy. It follows that in this case.
Case 2: . Then and so we are done. □
We shall consider several complexity notions: prefix-free Kolmogorov complexity K, plain Kolmogorov complexity C, and nondeterministic automatic complexity A
N
.
For each notion we first define one or more suitable deficiency notions D
n
(x): for instance, D
n
(x) = n + c
C
- C (x) for a suitable constant c
C
for C, and D
n
(x) = ⌊ n/2 ⌋ +1 - A
N
(x) for A
N
. The following questions are natural for each of these deficiency notions: Does the price of the European option tend to ∞? Does the price of the American option tend to ∞? Does the American option for C have an efficiently computable exercise policy? If so, is the increase in value of the American option necessarily slow (say, logarithmic)?
Kolmogorov complexity
Plain complexity C
Let c C be the least constant c C such that C (x ∣ n) ≤ n + c C for all strings x of any length n. If we define D n (x) = n + c C - C (x ∣ n) for x of length n, then D n (x) ≥0 for all x, and D n (x) =0 does occur. This is theoretically pleasant. Deficiencies are nonnegative and can be zero. Of course, c C depends on the version of the plain length-conditional Kolmogorov complexity C (· ∣ ·) that we use. In this setting, we have
Then we have
It turns out that for options expiring at time n, there is a significantly better exercise policy than the static strategy of waiting until the very end:
The idea of the proof is to use complexity oscillations, first observed by Martin-Löf (1971): when the initial part of a string x is a binary encoding of the length of x, the plain Kolmogorov complexity of x will be low.
Prefix-free complexity K with C-style deficiency
Let K denote prefix-free Kolmogorov complexity. With D
n
(x) = n - K (x), there is no limiting deficiency distribution in this case (or one could say the deficiency is in the limit -∞ almost surely). That is, K (w) ≥ |w| - c for almost all w, for any c. Indeed, for each ,
Let . Since we would not exercise an option giving negative payoff, it follows that
Prefix-free complexity K with its natural notion of deficiency
Solovay showed that lim inf D n (X ↾ n) will be finite (Miller and Yu, 2011).
V =∞ in this case since we can simply wait for a sufficiently high D
n
value. What about V
n
? Consider an arbitrary constant, which for expository vividness we will take to equal 17. Almost surely there will be an n with D
n
(X ↾ n) ≥17. Therefore for each ɛ there is an n
0 such that
An overview of the deficiency option prices is given in Table 1.
Using runs
Computable forms of complexity
Automatic complexity
Now the goal is to price the European/American option that pays the nondeterministic automatic complexity deficiency D n of the movements of a stock from time 0 to the time n when the option is exercised. We suspect that finding the exact price is a computationally intractable problem, both because of the conjectured intractability of computing automatic complexity (Hyde and Kjos-Hanssen 2015), and because of the exponential number of price paths to consider.
The interest rate r can be set to 0 or to a positive value. For pedagogical reasons, Shreve (2004) uses r = 1/4 for his main recurring example, and we sometimes adopt that value as well. For n = 0 the option would pay 0 as there are no simple strings, and moreover the situation is anyway already known at time 0. For n = 1 the actual string (0 or 1) is not known at time 0 but it does not affect the payoff, which is 0 either way as there are no simple strings. For n = 2, with up-factor u = 2, down-factor , and r = 1/4, there is a risk-neutral probability of 1/2 of one of the strings 00, 11, both of which pay $1. So the value is
In general when the risk-neutral probabilities are 1/2 each for up and down, then the value of the option is directly related to the distribution of the deficiency D
n
:
To obtain a reasonable level of abstraction it is valuable to consider infinite price paths and associate a finite complexity deficiency with them. We can do so if the nondeterministic automatic complexity deficiencies of prefixes of an infinite binary sequence are almost surely bounded (Conjecture 3.1; see also Table 1).
Decision problem: PRICE.
Instance: A pair of nonnegative integers n and k with
Question: Is V (n) ≥ k/2 n ?
Recall that E is the class of single-exponential time decidable decision problems.
The same proof shows that the analogous statement to Theorem 18 for American options holds as well.
Run complexity
If the payoff of our option is just the longest run of heads then Alikhani (2014) showed that the price of the option is Θ (log 2 n). This corresponds to automata that always proceed to a fresh state, except that one state may be repeated (namely, the state of the longest run).
This complexity notion has the advantage that it is efficiently computable. Kjos-Hanssen (2014) studied it in more detail and also considered multiple runs, as in the Wald–Wolfowitz runs test.
In the rest of this subsection we give the argument of Alikhani (2014). We assume familiarity with basic discrete options (Shreve, 2004). A coin tossing sequence is ω 1 … ω N where each ω i ∈ {H, T}. (Read H as “heads” and T as “tails”.)
Thus, the trading strategy corresponding to τ t is to wait for a run of heads that is almost as long as we ever expect to see before time N, with “almost” being qualified and measured by the parameter t.
Robustness
We now consider whether, in the phrase of an anonymous referee,
small perturbations on input sequences can have drastic effects on our studied measurements of complexity.
In other words, whether errors in the measurement of a sequence will lead to large errors in the calculated complexity. Let d (x, y) denote the Hamming distance between two sequences of the same length x and y.
On the other hand, since the longest run will only be about log 2 n (Boyd, 1972), a random change in a single random bit will tend to leave the complexity unchanged.
Enhanced content
This witness is a uniquely accepting state sequence, i.e., a sequence of states visited during a run of a witnessing automaton. It is analogous to a shortest description x * of a string x, familiar from the study of Kolmogorov complexity.
The app also provides some extensions of the string suggested by the familiar autocompletion feature used in search engines.
Acknowledgments
This work was partially supported by a grant from the Simons Foundation (#315188 to Bjørn Kjos-Hanssen).
This material is based upon work supported by the National Science Foundation under Grant No. 0901020.
