Market Timing

The market timing game simulates a stock market index that follows a random walk with drift. The model assumes 8% annual drift (typical equity return) and 20% annual volatility (typical market risk). Each day, the index moves up or down randomly, but with a slight upward bias over time. You are guessing whether the index will be higher or lower after three months.

The Underlying Process

The index price evolves according to the stochastic differential equation:

dSt=μStdt+σStdWtwithμ=0.08,  σ=0.20dS_t = \mu S_t dt + \sigma S_t dW_t \quad \text{with} \quad \mu = 0.08, \; \sigma = 0.20

where the index value StS_t follows a geometric Brownian motion WtW_t, with drift μ\mu and volatility σ\sigma.

Confidence Intervals

Historical PriceExpected Price68% CI95% CISample paths

Computing Confidence Intervals

For geometric Brownian motion, the index log returns are normally distributed:

log(St+ΔtSt)N((μσ22)Δt,σ2Δt)\log\left(\frac{S_{t+\Delta t}}{S_t}\right) \sim \mathcal{N}\left(\left(\mu - \frac{\sigma^2}{2}\right)\Delta t, \sigma^2 \Delta t\right)

This allows us to construct confidence intervals for future index values. For a 95% confidence interval:

St+Δt[Stexp((μσ22)Δt1.96σΔt),Stexp((μσ22)Δt+1.96σΔt)]S_{t+\Delta t} \in \left[ S_t \exp\left(\left(\mu - \frac{\sigma^2}{2}\right)\Delta t - 1.96\sigma\sqrt{\Delta t}\right), S_t \exp\left(\left(\mu - \frac{\sigma^2}{2}\right)\Delta t + 1.96\sigma\sqrt{\Delta t}\right) \right]

The σ2/2-\sigma^2/2 term is the volatility drag that reduces the median path below the mean. Note: These are pointwise intervals—while 95% of paths lie within the intervals at any given time, many paths will exit the intervals at some point during their trajectory.

Can You Beat the Market?

Expected Returns

The expected log-return over a period Δt\Delta t is:

E[log(St+ΔtSt)    Ft]=(μσ22)ΔtE\left[\log\left(\frac{S_{t+\Delta t}}{S_t}\right) \;\bigg|\; \mathcal{F}_t\right] = \left(\mu - \frac{\sigma^2}{2}\right) \Delta t

The expectation depends only on the time horizon (Markov property), not on past history. With our parameters, the 3-month expected log-return is (0.080.02)×0.25=1.5%(0.08 - 0.02) \times 0.25 = 1.5\%.

Variance of Returns

The log-return over a period Δt\Delta t has variance:

Var[log(St+ΔtSt)    Ft]=σ2Δt\text{Var}\left[\log\left(\frac{S_{t+\Delta t}}{S_t}\right) \;\bigg|\; \mathcal{F}_t\right] = \sigma^2 \Delta t

The variance grows linearly with time, independent of the price path taken. With our parameters, the 3-month standard deviation is σ3/12=20%×0.5=10%\sigma\sqrt{3/12} = 20\% \times 0.5 = 10\%, making both wins and losses quite likely!

The Verdict

You cannot systematically beat the 8% arithmetic drift. Under geometric Brownian motion (constant μ\mu and σ\sigma), future index movements are independent of past history (Markov property), and the best predictor of future values is simply the current level adjusted for drift.

Always going long yields an expected log return of

(μ12σ2)Δt=(8%2%)×0.25=1.5%\left(\mu - \frac{1}{2}\sigma^2\right) \Delta t = (8\% - 2\%) \times 0.25 = 1.5\%

over 3 months, and no timing strategy can systematically improve this expected return. The expected log return is lower than the drift μ=8%\mu = 8\% due to volatility drag, the compounding effect of losses requiring larger gains to recover.