Calibrate Fill Probability Predictions Used to Price Quotes

Last updated: November 29, 2026

Quick Overview

A classifier predicts the probability that a resting option quote gets filled in the next second, and the quoting engine uses that probability in an expected-value calculation. Fills are about 2% of samples. How do you make sure the probabilities are calibrated, and why does it matter more than AUC here?

Akuna Capital
Machine Learning
Machine Learning Engineer
Akuna Capital
November 29, 2026
Machine Learning Engineer
Onsite
Machine Learning
Hard

0

0

0 solved


A classifier predicts the probability that a resting option quote gets filled in the next second, and the quoting engine uses that probability in an expected-value calculation. Fills are about 2% of samples. How do you make sure the probabilities are calibrated, and why does it matter more than AUC here?

Akuna Capital's quoting decisions weigh expected edge against adverse selection, so a fill model's probabilities are inputs to dollars, not just a ranking. The interviewer checks calibration diagnostics, fixes such as isotonic or Platt scaling, correcting for negative downsampling, and awareness that fills are an adverse-selection signal.

What the Interviewer Expects
  • Explain why EV calculations need calibrated probabilities, not just ranking
  • Measure calibration with reliability curves, Brier score and log loss
  • Correct for negative downsampling with the odds formula
  • Fit Platt or isotonic calibration on a later, held-out time window
  • Model fill-conditional markout, not just fill probability
Key Topics to Cover
calibration
class imbalance
isotonic regression
expected value
adverse selection
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • Why can a model with better AUC lead to worse PnL?
  • How often would you recalibrate, and what would trigger it?
  • How does adverse selection bias the fills you train on?
Sharpen Your Skills on Codemia

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

Explore ML Interview Prep
Sample Answer
Clarify

Samples are quote-seconds labeled filled or not. The engine computes something like EV=pfill×(edge−E[markout∣fill])EV = p_{fill} \times (\text{edge} - E[\text{markout} \mid \text{fill}]) per candidate quote and picks size and pri...

Approach

AUC only checks ranking; a model can rank perfectly while predicting 10% when the true rate is 2%. Measure calibration directly, fix systematic bias, and confirm with a backtest of the decision rule....


Submit Your Answer
Markdown supported

Related Questions