Quoto

Learn / Library / Expected value

How long a bracket order stays open

Expected valueMedium

A position's P&L starts at and moves or tick each step with equal probability, independently. It closes at or at , whichever comes first. What is the expected number of steps until it closes? Give a whole number.

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Apply optional stopping to .

Solution
  1. The chance of reaching first is , from optional stopping on .
  2. Then .
  3. Since is a martingale that starts at , the expected time equals that value: .

Answer: