Dynamic Pricing for otto.de

Christopher Blake11 Oct 2022

Problem

Otto sets prices for most products on otto.de. Seasonal items with fixed stock must sell out by a deadline: too fast means sold out early, too slow leaves unsold goods. For product ranges, the total margin must stay above a floor, while sales volume should be as high as possible. Computing such prices for millions of items overloaded the shared Hadoop cluster.

Example from the article: 230 summer dresses are in stock in early June and must be sold by the end of July. A second case is 200 refrigerator types whose total margin must be at least 15 percent.

Solution in brief

Train demand models that predict units sold at different prices from price history, competitor prices and marketing campaigns. Markdown pricing picks the price that clears the stock by the deadline. Portfolio optimization lowers prices of elastic items until the range margin hits its floor. Training and optimization run on a cloud cluster, and algorithm changes are tested on groups of similar products.

Questions this case answers
  • How to set prices for many items at once so that volume is maximized under a deadline or a minimum-margin constraint
  • How to compare two decision algorithms in production when the unit of randomization has to be a group of items, not a user
  • How to choose a price that sells out seasonal stock by a deadline without selling out too early?
  • How to maximize sales volume across a product range while keeping the total margin above a floor?

Tools and methods

  • XGBoost, LightGBM, OLS regression — demand models that forecast units sold at a given price
  • Markdown pricing, portfolio optimization — prices for deadline stock; volume under a margin floor
  • Dataproc — distributed training and optimization on up to 2,500 cores
  • Terraform, Docker, Jenkins — infrastructure as code, containerized services, orchestration
  • Product-group experiments — two algorithms on two homogeneous groups of products
Continue reading — it's free

Google or a one-time email code. No password.