← Blog

Intro to pred markets

Intro to Prediction Markets, Part 3: The Growth Rate

· 5 min readPrediction Markets

Last post, we established why several metrics used to study a trading strategy might not be generally appropriate at all, or not appropriate for prediction market strategies. Before we can properly get to appropriate metrics, we must first understand how growth in a prediction market strategy works.

One contract

To establish some consistency, we define the following three variables:

  • pp: the market price of a contract (or the market implied probability).
  • p∗p^*: the trader's assessed probability, based on their model.
  • θ\theta: the true probability.

When a trader pays pp to acquire a contract, there are two metrics for assessing a particular trade. The expected profit and loss is E[PnL]=p∗−p\mathbb E[PnL]= p^* - p and the expected return on deployed capital is E[R]=p∗−pp.\mathbb E[R] = \frac{p^*-p}{p}. In more scientific terms, profit and loss captures the absolute error of the market from our model, and the return captures the relative error.

What's important to recognize in this formula is that we do not know θ,\theta, only p∗p^* so we must use p∗p^* in any actual modeling.

Compounding

Suppose the contract repeats. To distinguish one day from the next, we can add a subscript to denote the day using tt and our last day as TT. We also introduce the variable WtW_t to denote the present wealth, and ff to be the fraction of wealth wagered each day.

Each day, returns are found by:

Rt={1+ft (1−pt)/ptwith probability pt∗(event occurs)1−ftwith probability 1−pt∗(event does not occur)R_t = \begin{cases} 1 + f_t\,(1-p_t)/p_t & \text{with probability } p_t^* \quad (\text{event occurs}) \\ 1 - f_t & \text{with probability } 1 - p_t^* \quad (\text{event does not occur}) \end{cases}

The quantity b=(1−p)/pb = (1-p)/p is the implied odds of the contract (often used by sportsbooks). After T independent days, wealth is modelled by:

WT=W0∏t=1TRtW_T = W_0 \prod_{t=1}^T R_t

Note that compounding is multiplicative, so we must measure the geometric mean rather than the more common arithmetic mean.

The geometric mean measures the average of a logarithm, so we define the log-growth rate (or growth rate) of a strategy with bankroll fraction f as:

gt(ft)=E[ln⁡Rt]=pt∗ln⁡ ⁣(1+ft(1−pt)pt)+(1−pt∗)ln⁡(1−ft)g_t(f_t) = \mathrm{E}[\ln R_t] = p_t^* \ln\!\left(1 + \frac{f_t(1-p_t)}{p_t}\right) + (1-p_t^*)\ln(1-f_t)

And this is what we want to measure. Compounding works for prediction markets just as much as classical markets.

Why not use an arithmetic mean? The arithmetic expectation of return E[R−1]=f(p∗b−1)\mathbb E[R - 1] = f(p^* b - 1) is maximized by f = 1 (bet everything). But growth could be an infinite loss because a single loss wipes out the entire bankroll. The difference between the arithmetic and geometric objectives can be called variance drag: for small f,

g(f)≈f E[r]−12f2 Var(r)g(f) \approx f\,\mathrm{E}[r] - \tfrac{1}{2}f^2\,\mathrm{Var}(r)

where r = R − 1 is the single-period return. The variance penalty term caps bet size.

The Kelly Criterion

Taking gt′(ft)=0g_t'(f_t) = 0 and solving for ftf_t produces the Kelly fraction ft∗=pt∗−pt1−ptf^*_t = \frac{p_t^* - p_t}{1 - p_t} The numerator is the edge, the denominator the maximum possible loss per dollar. We find that the optimal growth rate is then

gt∗=pt∗ln⁡pt∗pt+(1−pt∗)ln⁡1−pt∗1−ptg_t^* = p^*_t \ln\frac{p^*_t}{p_t} + (1-p^*_t)\ln\frac{1-p^*_t}{1-p_t}

This formula goes by another name: the Kullback–Leibler (KL) divergence. For two probability distributions on a binary outcome, with probabilities q and p respectively, the KL divergence from p to q is:

DKL(q∣∣p)=qln⁡qp+(1−q)ln⁡1−q1−pD_{\mathrm{KL}}(q||p) = q\ln\frac{q}{p} + (1-q)\ln\frac{1-q}{1-p}

D(q∣∣p)D(q||p) measures the "information distance" between pp and qq with respect to the distribution qq. It is always a non-negative quantity, and is zero iff q=pq=p, and is asymmetric.

Using this, we can also measure our optimal modelled growth rate as gt∗=DKL(pt∗∣∣pt)g_t^* = D_{\mathrm{KL}}(p_t^*||p_t)

Nature Returns

However, the markets actually operate on the probability distribution θt\theta_t. So the actual returns will be

gt=θtln⁡pt∗pt+(1−θt)ln⁡1−pt∗1−pt,g_t = \theta_t \ln\frac{p^*_t}{p_t} + (1-\theta_t)\ln\frac{1-p^*_t}{1-p_t},

which we can rewrite (by adding and subtracting the entropy of θ\theta) as

gt=DKL(θt∣∣pt)−DKL(θt∣∣pt∗).g_t = D_{\mathrm{KL}}(\theta_t || p_t) - D_{\mathrm{KL}}(\theta_t || p_t^*).

This decomposition is our key result: The realized growth rate is the opportunity DKL(θ∣∣p)D_{\mathrm{KL}}(\theta||p), or how incorrect is the market, minus the cost DKL(θ∣∣p∗),D_{\mathrm{KL}}(\theta||p^*), or how wrong the trader is.

We can apply this to get a long-run growth rate

E[gt]=E[DKL(θt∣∣pt)]−E[DKL(θt∣∣pt∗)].\mathbb E[g_t] = \mathbb E[D_{\mathrm{KL}}(\theta_t || p_t)] - \mathbb E[D_{\mathrm{KL}}(\theta_t || p_t^*)].

The first term describes the average mispricing of the market. This is where a Brier score is useful (see part 2), but it is entirely outside the control of a trader. Only the second term can be controlled.

Error Estimation and Fractional Kelly

If we have a perfectly unbiased estimator, i.e. pt∗=θt+ϵtp_t^* = \theta_t + \epsilon_t where E[ϵt]=0\mathbb E[\epsilon_t] = 0 and ϵt\epsilon_t is small, we can estimate using a Taylor expansion that DKL(θ∣∣p∗)≈ϵ22θ(1−θ).D_{\mathrm{KL}}(\theta||p^*) \approx \frac{\epsilon^2}{2\theta(1-\theta)}.

This term is proportional to the Fisher information for a Bernoulli random variable of parameter θ,\theta, which measures the estimation variance

Δg=12E[ϵt2θt(1−θt)],\Delta g = \frac12\mathbb E\left[\frac{\epsilon^2_t}{\theta_t(1-\theta_t)}\right],

and comes in the form of a penalty to growth rate. The structure of this informs us that error is most costly at the extremes where θ\theta is near 0 or 1, which is where Kelly sizing would place the largest bets because of the high returns.

One way to mitigate this damage is to use what is called fractional Kelly, f=αf∗f = \alpha f^* where α\alpha is the Kelly multiplier. It is a convex combination of the trader's estimate and market price, admitting that the market may be partly right. An optimal α\alpha will depend on that estimation variance. The growth rate should be recomputed as α\alpha changes.

Further Topics

All of these considerations will influence the fundamental wealth relation WT=W0∏t=1TRtW_T = W_0 \prod_{t=1}^T R_t Measuring this will allow us to consider returns in their proper geometric regime to arrive at an appropriate replacement to the Sharpe ratio: one that considers the log-returns and variance. Next time, we'll discuss similar metrics built off the geometric growth and the binary nature of returns.

A lot of these ideas are important, and will make appearances in future blog posts as we build on them, such as applications to portfolio management and capital allocation.