
Newsletter #169 Home
|
The BARRA Brainteaser from Fall 1998On the CBOE exchange, stock prices move by exactly one tick from one trade to the next, with a 50% probability of moving either up or down. On average, after how many trades will a stock on the CBOE exchange have traded at N different levels after opening? How is the answer affected if the probabilities of the up and down moves are p and q respectively? Brain Teaser Solution by Eugene Reznik and Nick Baturin Let Let the state (N,k) denote a situation in which the stock has traded at N distinct price levels (numbered 1 through N from lowest to highest) and is currently at level number k. Also, let M(N,k) be the time it takes for the stock to reach a new high or low starting from the state (N,k). Now M(N,k) satisfies the following difference equation: M(N,k)=1+pM(N,k+1)+qM(N,k-1) (1) with boundary conditions M(N,0)=M(N,N+1)=0 (2) The solution to equation (1) with boundary conditions (2) is:
In the special case where p = q = 1/2, equation (1) with boundary conditions
(2) is solved by M(N,k) = k(N+1-k). Thus, In the general case, we can say that:
where H(N) is the probability of being in the state (N,N) conditioned on having just covered a new level. In order to calculate H(N) lets define h(N,k) as the probability of the stock price reaching a new high from the state (N,k) before reaching a new low. Like M(N,k), h(N,k) satisfies a simple difference equation: h(N,k) = p h(N, k+1) + q h(N, k-1) (3) with boundary conditions h(N,0) = 0; h(N,N+1) = 1 (4) We can solve (3) and (4) to obtain
To find H(N), note that H(2) = h(1,1) = p. Note also that H(N) can be expressed in terms of H(N-1), h(N-1,1) and h(N-1,N) as: H(N) = H(N-1) h(N-1,N-1) + (1-H(N-1)) h(N-1,1) This completes the solution as we now have all the necessary pieces to recursively
calculate Figure 1: Number of trades required to cover N different levels as a function of N and probability of an up move p.
1 W. Feller, An Introduction to Probability Theory and its Applications, Vol. 1, 1970.
|
[client support]
[portfolio management]
[investment data]
[trading services] [search] [site map] [contact us] [home]
Any questions or bug reports regarding this service should go to contactus@barra.com. |