Probability a Leveraged Position Hits Liquidation Before Take Profit
Last updated: November 29, 2026
Quick Overview
A trader's position is $20 above its liquidation price and $10 below a take-profit price. Each tick the price moves up or down by $1. Find the probability of take profit before liquidation for a fair walk and for an up-tick probability of 0.49, and the expected ticks in the fair case.
Coinbase
November 29, 20260
0
0 solved
A trader's position is $20 above its liquidation price and $10 below a take-profit price. Each tick the price moves up or down by $1. Find the probability of take profit before liquidation for a fair walk and for an up-tick probability of 0.49, and the expected ticks in the fair case.
Coinbase offers derivatives and perpetual futures through its international and US derivatives venues, where liquidation risk is a core concern for both users and the risk engine. Quantitative screens use gambler's ruin variations to test random walk intuition and how a small drift changes outcomes over many steps.
What the Interviewer Expects
- Maps the setup to gambler's ruin with absorbing barriers
- Gets k/N = 2/3 for take profit in the fair case
- Derives or applies the biased formula correctly
- Computes expected duration k(N-k) = 200 ticks
- Explains why a 1% bias moves the answer so much
- Can verify with simulation
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
- How does the answer change if the take-profit distance doubles?
- How would you model price with volatility instead of fixed ticks?
- How does funding rate on a perpetual enter this picture?
- Derive the expected duration formula.
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Shift so liquidation is at 0. The position starts at and take profit is at . Each tick is with probability and with probability . We want , the probability...
Approach
Set up the recurrence with , , and solve. For the fair case, price is a martingale, so optional stopping gives the answer directly....