← Optiver Interview Insights

Optiver·Data Scientist·Technical Phone Screen·Intermediate

Intermediate
Jun 2026

Summary

Optiver data scientist interview with a pretty gnarly market-making game problem spanning five sub-parts. The whole thing was essentially one long quantitative case study dressed up as an interval estimation exercise. Left feeling like I'd passed a math exam I hadn't studied for.

Questions Asked (5)

Q1

Given a continuous probability distribution over an unknown quantity, how would you set up the optimization problem to choose interval endpoints that maximize expected score in the market-making interval game?

Algorithms & Data StructuresTechnical Trade-offs
Author's notes

This took me a minute to even parse.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by formalizing the scoring rule of the interval game, then express the expected score as an integral over the unknown quantity's distribution. Set up the optimization problem to find interval endpoints that maximize this expected score, considering constraints and using calculus or numerical methods.

Pro tip: In market-making, the scoring rule often rewards narrow intervals that contain the true value, so the optimal interval balances width and coverage probability. Mention that the solution often involves quantiles of the distribution, which is a key insight.

1. Understand the scoring rule

Clarify how the interval is scored: typically, a reward for containing the true value minus a penalty proportional to interval width. This defines the objective function.

2. Formulate expected score

Write the expected score as an integral over the distribution of the unknown quantity, incorporating the scoring rule and the interval endpoints as variables.

3. Set up optimization problem

Maximize the expected score with respect to the lower and upper endpoints, subject to constraints such as lower ≤ upper. This is a continuous optimization problem.

4. Solve using calculus or numerical methods

Take derivatives with respect to endpoints and set to zero, or use numerical optimization if the distribution is complex. Often the solution relates to quantiles.

5. Interpret and validate

Check that the optimal interval makes sense (e.g., symmetric for symmetric distributions) and consider practical constraints like discreteness or risk limits.

Key Points to Mention

  • Scoring rule: reward for containing true value, penalty for width (e.g., linear or quadratic).
  • Expected score as integral of scoring function times probability density.
  • Optimization variables: lower and upper interval endpoints.
  • First-order conditions: derivatives of expected score w.r.t. endpoints.
  • Connection to quantiles: optimal endpoints often correspond to specific quantiles of the distribution.
  • Consideration of constraints and numerical methods for non-standard distributions.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q2

Derive the first-order conditions for the optimal interval and explain how the optimal coverage probability differs between light-tailed and heavy-tailed belief distributions.

Technical Trade-offsAdaptability & Ambiguity
Author's notes

Differentiating with respect to L and U separately gives you two conditions involving the pdf evaluated at the endpoints and the integral of the pdf over the interval.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by setting up the optimization problem for the optimal interval, clearly defining the objective function and constraints. Derive the first-order conditions by differentiating with respect to the interval endpoints and setting to zero. Then, compare how the optimal coverage probability changes for light-tailed versus heavy-tailed belief distributions, emphasizing the trade-off between coverage and interval width.

Pro tip: Connect the result to practical implications: for heavy-tailed distributions, the optimal interval may require higher coverage to capture extreme values, but this comes at the cost of wider intervals. Mention that in trading, this affects risk management and decision-making under uncertainty.

1. Define the optimization problem

Formulate the objective function, such as minimizing expected interval width subject to a coverage constraint, or maximizing expected utility that balances coverage and width. Clearly state the decision variables (interval endpoints) and any constraints.

2. Derive first-order conditions

Take derivatives of the objective function with respect to the interval endpoints (or equivalently, the center and width) and set them to zero. This yields the first-order conditions that characterize the optimal interval.

3. Interpret the conditions

Explain the economic or statistical intuition behind the first-order conditions, such as equating marginal benefit of increased coverage to marginal cost of increased width.

4. Compare light-tailed vs heavy-tailed distributions

Analyze how the optimal coverage probability changes with tail behavior. For light-tailed distributions, the optimal coverage may be lower because extreme values are rare; for heavy-tailed distributions, higher coverage may be optimal to account for higher probability of extreme events.

5. Discuss implications and trade-offs

Summarize the practical implications, such as how the optimal interval width and coverage affect decision-making in data science and trading contexts.

Key Points to Mention

  • The objective function typically balances coverage probability and interval width (e.g., minimizing width for a given coverage, or maximizing expected utility).
  • First-order conditions equate the marginal change in coverage benefit to the marginal change in width cost.
  • Light-tailed distributions (e.g., normal) have rapidly decaying tails, so the optimal coverage probability tends to be lower because the cost of widening the interval to capture rare events outweighs the benefit.
  • Heavy-tailed distributions (e.g., Cauchy, Student's t) have slowly decaying tails, so the optimal coverage probability tends to be higher to capture the increased likelihood of extreme values.
  • The optimal coverage depends on the specific loss function and the shape of the distribution, not just the tail weight.
  • In practice, this analysis informs the choice of prediction intervals and risk measures in financial modeling and data science.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q3

How would you allocate risk across five rounds to hit a total score of at least 2.0? Walk through a dynamic programming or heuristic approach and explain how you'd adjust interval tightness based on your running score.

Algorithms & Data StructuresProduct Analytics & Metrics
Author's notes

This is where I actually felt okay.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Frame the problem as a sequential decision process where you allocate risk (e.g., fraction of capital) over five rounds to maximize the probability of ending with a total score ≥ 2.0. Outline a dynamic programming solution that computes the optimal policy for each state (round, current score), and discuss how you would adjust the risk interval (e.g., widen or tighten) based on the running score to balance exploration and safety.

Pro tip: Emphasize that in practice you'd use a heuristic like 'risk more when behind, less when ahead' and validate it with Monte Carlo simulation, showing you understand the trade-off between optimality and real-time constraints.

1. Define the problem and state space

Clarify that each round you choose a risk level (e.g., fraction of capital) that yields a random score, and the goal is to maximize the probability that the sum of scores over five rounds is at least 2.0. Define the state as (round number, current cumulative score).

2. Formulate dynamic programming recursion

Let V(r, s) be the maximum probability of reaching total score ≥ 2.0 from round r with current score s. For each possible risk allocation a, compute the expected value over the distribution of outcomes, and take the maximum. Base case: V(6, s) = 1 if s ≥ 2.0 else 0.

3. Solve and extract policy

Solve the DP backwards from round 5 to 1, storing the optimal action for each state. This yields a policy that maps (round, current score) to the optimal risk allocation.

4. Adjust interval tightness based on running score

Explain that when the running score is low, you should widen the risk interval (take more risk) to increase the chance of a high payoff; when the running score is high, tighten the interval (take less risk) to lock in the target. This heuristic approximates the DP policy and is easier to implement in real time.

5. Validate with simulation and discuss trade-offs

Run Monte Carlo simulations to compare the DP policy with the heuristic, and discuss computational complexity, robustness to model misspecification, and the need for real-time decisions.

Key Points to Mention

  • Dynamic programming formulation with state (round, cumulative score) and action (risk allocation).
  • Backward induction to compute optimal policy and value function.
  • Heuristic: risk more when behind, less when ahead; adjust interval tightness accordingly.
  • Monte Carlo simulation for validation and sensitivity analysis.
  • Trade-off between optimality and computational feasibility in real-time trading.
  • Connection to risk management concepts like Kelly criterion or value at risk.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q4

Under a log-normal belief about the true answer, describe a quick mental method for picking near-optimal interval endpoints. How would you adapt this for heavy-tailed beliefs?

Technical Trade-offsAdaptability & Ambiguity
Author's notes

Log-normal is actually friendly here because working in log space turns it into a normal problem.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by explaining that for a log-normal belief, the optimal interval endpoints can be approximated by taking the geometric mean (exp(mu)) and scaling it by exp(±z*sigma), where z is chosen based on the desired confidence level. Then, for heavy-tailed beliefs, suggest using quantiles from a fitted heavy-tailed distribution (e.g., Student's t or Cauchy) or applying a robust transformation like the log-modulus to symmetrize the distribution before applying a similar scaling.

Pro tip: Emphasize that in practice, you'd calibrate the scaling factor using historical data or simulation to balance coverage and sharpness, and mention that heavy-tailed adaptations often require wider intervals or alternative scoring rules like interval score to avoid infinite penalties.

1. Clarify the log-normal assumption

State that if the true answer is log-normally distributed, its logarithm is normal with mean mu and standard deviation sigma. The optimal interval endpoints for a given confidence level are then exp(mu ± z*sigma), where z is the normal quantile.

2. Derive a quick mental method

Mentally approximate the geometric mean (exp(mu)) and the multiplicative standard deviation (exp(sigma)). For a 95% interval, use z ≈ 2, so endpoints are roughly geometric mean multiplied and divided by exp(2*sigma).

3. Adapt for heavy-tailed beliefs

For heavy-tailed distributions, the normal quantile approach underestimates tail risk. Instead, use quantiles from a heavy-tailed distribution (e.g., Student's t with low degrees of freedom) or apply a transformation like the log-modulus to reduce skewness before applying a similar scaling.

4. Consider practical adjustments

Mention that in real applications, you might calibrate the interval width using historical data or simulation to achieve desired coverage, and that for heavy tails, you may need to widen intervals or use robust scoring rules.

Key Points to Mention

  • Log-normal distribution: log of variable is normal, so interval endpoints are multiplicative.
  • Geometric mean and multiplicative standard deviation as intuitive parameters.
  • Normal quantiles (e.g., z=1.96 for 95%) for setting interval width.
  • Heavy-tailed distributions: Student's t, Cauchy, or stable distributions.
  • Robust transformations: log-modulus, rank-based methods, or winsorizing.
  • Interval score or other proper scoring rules for evaluation, especially with heavy tails.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q5

How would you design a simulation to validate your five-round interval strategy and estimate the probability of hitting the 2.0 score target?

A/B Testing & ExperimentationAlgorithms & Data Structures
Author's notes

Pretty straightforward compared to the earlier parts.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clearly defining the five-round interval strategy, including the decision rule for each round and the target score of 2.0. Then outline a Monte Carlo simulation that models the stochastic elements of the game, runs many iterations, and estimates the probability of hitting the target. Finally, discuss how you would validate the simulation and interpret the results.

Pro tip: Emphasize the importance of calibrating the simulation to real data and performing sensitivity analysis on key parameters. This shows you understand that a simulation is only as good as its assumptions and that robustness matters in a trading context.

1. Define the Strategy and Target

Clearly specify the five-round interval strategy: what actions are taken in each round, how intervals are determined, and what constitutes hitting the 2.0 score target. Ensure the target is measurable and unambiguous.

2. Model the Stochastic Process

Identify the random variables and their distributions (e.g., price movements, order fills) based on historical data or theoretical assumptions. Define the simulation's time steps and how the strategy interacts with the market.

3. Implement Monte Carlo Simulation

Write code to simulate many independent paths (e.g., 10,000+ iterations). For each iteration, apply the strategy, record the final score, and check if it meets or exceeds 2.0. Compute the proportion of successful iterations as the estimated probability.

4. Validate and Stress-Test

Compare simulation outputs with historical performance or theoretical benchmarks. Perform sensitivity analysis by varying key parameters (e.g., volatility, latency) to assess robustness. Consider backtesting on out-of-sample data if available.

5. Interpret and Communicate Results

Report the estimated probability with confidence intervals. Discuss limitations, assumptions, and potential biases. Suggest improvements or further experiments to refine the strategy.

Key Points to Mention

  • Monte Carlo simulation for estimating probabilities
  • Defining the strategy's decision rules and target metric precisely
  • Modeling stochastic elements (e.g., price movements, execution uncertainty)
  • Calibration using historical data and sensitivity analysis
  • Confidence intervals and statistical significance of the estimated probability
  • Validation through backtesting and stress testing

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.