Learn / Library / Expected value
How long a bracket order stays open
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.
Hint
Apply optional stopping to .
Solution
- The chance of reaching first is , from optional stopping on .
- Then .
- Since is a martingale that starts at , the expected time equals that value: .
Answer: