Size a Hot Wallet So Withdrawals Rarely Wait for Cold Storage

Last updated: November 29, 2026

Quick Overview

Withdrawals of an asset arrive at about 120 per hour with mean size $2,000 and standard deviation $6,000, and refilling the hot wallet from cold storage takes 4 hours. Estimate the hot wallet balance needed so that the probability of running dry before a refill completes is below 1 percent, and explain how you would check the answer.

Gemini
Statistics & Math
Data Scientist
Gemini
November 29, 2026
Data Scientist
Technical Screen
Statistics & Math
Medium

0

0

0 solved


Withdrawals of an asset arrive at about 120 per hour with mean size $2,000 and standard deviation $6,000, and refilling the hot wallet from cold storage takes 4 hours. Estimate the hot wallet balance needed so that the probability of running dry before a refill completes is below 1 percent, and explain how you would check the answer.

Gemini keeps the bulk of customer crypto in cold storage, so treasury and risk teams must size hot wallets that balance theft exposure against withdrawal delays. The interviewer wants a compound Poisson model, a correct variance formula, and awareness that heavy-tailed sizes break the normal approximation.

What the Interviewer Expects
  • Model total outflow over the refill window as a compound Poisson sum
  • Use $E[S] = \lambda t \mu$ and $Var[S] = \lambda t E[X^2]$, not $\lambda t \sigma^2$
  • Produce a numeric estimate with a normal approximation
  • Recognize skew from heavy-tailed sizes and check with simulation or historical quantiles
  • Discuss conservative assumptions (ignoring deposits) and seasonality
Key Topics to Cover
Compound Poisson
Normal Approximation
Tail Quantiles
Monte Carlo
Treasury Risk
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • How does the answer change during a market crash when withdrawals spike and correlate?
  • Would you treat one $5M withdrawal the same way as many small ones?
  • How would you set the refill trigger level, not just the target balance?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Assume arrivals are Poisson with λ=120\lambda = 120 per hour, sizes are independent of arrivals with mean μ=2000\mu = 2000 and sd σ=6000\sigma = 6000 (right-skewed, roughly lognormal), the window is t=4t = 4 hour...

Approach

Total outflow S=∑i=1NXiS = \sum_{i=1}^{N} X_i with N∼Poisson(λt)N \sim \text{Poisson}(\lambda t). By the law of total variance, Var[S]=E[N]Var[X]+Var[N]E[X]2=λt(σ2+μ2)=λtE[X2]Var[S] = E[N]Var[X] + Var[N]E[X]^2 = \lambda t(\sigma^2 + \mu^2) = \lambda t E[X^2]. Fin...


Submit Your Answer
Markdown supported

Related Questions