Probability a Drifting Price Hits Its Profit Target Before Stop
Last updated: November 29, 2026
Quick Overview
A position moves up one tick with probability p = 0.51 and down one tick otherwise. With a stop 10 ticks below and a target 10 ticks above entry, find the probability the target is hit first, then give the continuous-time analogue for a stock with daily drift 2 bp, daily vol 2%, and plus or minus 5% barriers.
Trexquant
November 29, 20260
0
0 solved
A position moves up one tick with probability p = 0.51 and down one tick otherwise. With a stop 10 ticks below and a target 10 ticks above entry, find the probability the target is hit first, then give the continuous-time analogue for a stock with daily drift 2 bp, daily vol 2%, and plus or minus 5% barriers.
Barrier-hitting problems test whether a quant researcher can set up a martingale or recursion instead of simulating, and they map directly onto stop-loss and take-profit rules in strategy design. The interviewer looks for the gambler's ruin derivation, the drifted Brownian motion formula, and intuition about how small edges compound over many steps.
What the Interviewer Expects
- Sets up the recursion P_i = p P_{i+1} + q P_{i-1} with boundary conditions
- Solves it to the (1 - r^i)/(1 - r^N) form with r = q/p
- Evaluates about 0.599 for the discrete case
- Uses the scale function exp(-2 mu x / sigma^2) for the continuous case and gets about 0.512
- Checks the zero-drift limit b/(a+b)
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What is the expected number of ticks until either barrier is hit?
- How does the answer change if the stop is 5 ticks and the target 15?
- Is a 1% per-step edge large or small, and why does the barrier width matter so much?
- How would transaction costs or a time limit change the picture?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Discrete: start at state on a line from (stop) to (target), up with , down with . Continuous: log price with drift and vol $\sigma = 0.02...
Approach
Let be the probability of hitting first from . First-step analysis gives with , . Characteristic roots are and . For the continu...