Algorithmintro
Dutch auction
Also called descending price auction, descending clock auction.
The price starts high and falls step by step, and the first bidder to accept wins at the current price. It is strategically the same game as the first-price sealed-bid auction.
- Time
- O(n k) worst
- Space
- O(n) extra
- Where
- k = the number of clock steps; n = the number of bidders
- Model
- Word RAM
- Properties
- comparison baseddeterministiciterative
- Evidence
- Proof sketchCode in 1 languages
- Origin
- William Vickrey, 1961
The Dutch auction sells one item by a price that falls in public. A clock starts at a high price and goes down step by step, and the first bidder who accepts the current price wins and pays it. Before the clock stops, a bidder learns nothing except that no one has accepted yet, so its plan is just a price at which to accept. That makes the Dutch auction strategically the same game as the first-price auction, where each bidder writes one sealed bid and the highest bid pays itself. It is the mirror of the English auction, whose price rises, and it has the same equilibrium as the first-price auction (equilibrium of the symmetric first-price auction).
In plain words
An auctioneer starts at a price that is too high for everyone and lowers it a little at a time. The first person who shouts "mine" buys the item at the price on the clock. If you wait, the price gets better for you, but someone else may shout first. So you must decide in advance the price at which you will shout, and nothing you see before that changes your mind, because all you see is that nobody has shouted. Choosing that price is the same problem as choosing a sealed bid in an auction where the highest bid wins and pays itself. So the two auctions give the same result.
The problem
One item is for sale to bidders with private values and quasilinear utility. The clock starts at a price above every value that matters and falls by a fixed decrement . The seller does not sell below a reserve . At each level the bidders may accept, and the auction stops at the first acceptance. In the model on this page, bidder acts by a stop price : it accepts at the first level with . The goal is to run the clock and find the winner and the price.
The algorithm
is the clock price, computed as at step .
DUTCH(s_1, ..., s_n, T, δ, r)- 1
p ← T - 2
while p ≥ r: - 3
S ← {i : s_i ≥ p} ▷ the bidders who accept at this level - 4
if S is not empty: return min S, p ▷ the first to accept wins and pays p - 5
p ← p - δ ▷ computed as T - kδ after k steps - 6
return NIL, 0 ▷ the clock passed the reserve
If several bidders accept at the same level, line L4 gives the item to the smallest index. A real clock settles this by who pressed first. If a stop price is at least , that bidder accepts at once.
The output is the outcome of the first-price auction on the stop prices rounded down to the clock levels. So the price is at most the highest stop price and more than the highest stop price minus .
Example
Three bidders have values , drawn independently and uniformly from . In the symmetric equilibrium each bidder accepts at , the first-price equilibrium bid, so the stop prices are . The clock starts at with .
| clock | 12 | 11 | 10 | 9 | 8 | 7 | 6 |
|---|---|---|---|---|---|---|---|
| bidders who accept | none | none | none | none | none | none | 1 |
Bidder 1 stops the clock at 6 and pays 6, with utility 3. With stop prices the result is the same, because the clock has no level between 7 and 6. With a reserve of 7, the clock stops at 7 with no acceptance, and the item is not sold. With stop prices both bidders accept at 6 and bidder 1 wins the tie.
Correctness
The proof is in proofs/correctness.md. It shows two facts.
- The outcome. For a clock level , holds exactly when the rounded stop price , the largest level at most , is at least . The clock goes down level by level and stops at the first level that some rounded stop price reaches, which is the largest rounded stop price. So DUTCH returns the first-price outcome on the rounded stop prices.
- Strategic equivalence. A bidder's information while the clock runs is only the current level and the fact that no one has accepted. A plan is therefore fixed by the first level at which it accepts, which is a stop price. So the strategies, the outcomes and the payoffs of the Dutch auction are those of the first-price auction on the clock levels, and the two have the same Bayes-Nash equilibria.
The equivalence holds for any values, private or interdependent, because it uses only what the bidders can see (Milgrom and Weber 1982). This is a stronger link than the one between the English and Vickrey auctions, which needs private values.
Proof: The Dutch clock auction is the first-price auction on bids rounded down to the clock levelsfull
We use the pseudocode of the page, with stop prices , a start price , a decrement and a reserve . The clock levels are for , as long as . For a number , let if , and otherwise let be the largest level with (this can be below ).
Claim 1 (the outcome). Let . If , DUTCH returns the smallest index with , at price . Otherwise it returns no winner. So DUTCH gives the outcome of the first-price auction with reserve on the bids .
Proof. For a level and any , if and only if : if , both sides hold, and otherwise is the largest level at most , so a level is at most exactly when it is at most . Line L1 starts at , and line L5 visits in order while line L2 keeps the level at least . At level , line L3 computes . The sets grow as grows, and is empty exactly when . If , then is a level, the loop reaches it, all earlier sets are empty, and at is because no is larger. Line L4 returns its smallest index at price . If , every visited set is empty and line L6 returns no winner. The first-price rule with reserve on the bids picks the smallest index with the largest bid if , at price , which is the same.
In particular, if every stop price is a clock level at most , the Dutch auction and the first-price auction have the same outcome, and in general the Dutch price is at most the highest stop price and more than the highest stop price minus (when that stop price is at most and the price is at least ).
Claim 2 (strategic equivalence). Every strategy of a bidder in the Dutch auction gives the same outcome as a stop price. So the Dutch auction and the first-price auction on the clock levels have the same strategies and the same payoffs, and they have the same Bayes-Nash equilibria.
Proof. While the clock runs, a bidder sees only the current level and the fact that no one has accepted yet. When the clock stops, the auction is over. So a bidder's plan can depend only on the level: it is a rule "accept at level if no one has accepted before". Such a rule is fixed by the first level at which it accepts, which is a stop price. Its outcome against any stop prices of the others is the first-price outcome of Claim 1.
Cost. The loop visits the levels from down to , that is levels, and each visit scans the stop prices. The time is and the extra space is for the set .
Complexity
The clock visits at most levels, where is the highest rounded stop price, and each visit scans the stop prices. So the time is and the extra space is . As with the English auction, is the number of rounds and depends on and . A simulation can find the result in time by rounding the largest stop price. In practice the clock moves fast and a lot is sold in seconds, which is why the form is used for large numbers of perishable lots.
Properties
- Same as the first-price auction. The Dutch auction with a fine clock has the outcome of the first-price auction on the same bids, so it has the same equilibria, the same expected revenue and the same efficiency. In the symmetric independent private values model with uniform values, the expected revenue is , up to the rounding of the clock.
- Not DSIC. A bidder who accepts at its value gains nothing. The best stop price depends on the others.
- Revenue equivalence. With symmetric, independent, risk-neutral bidders, the Dutch, first-price, English and Vickrey auctions earn the same expected revenue (revenue equivalence theorem).
- One message. Only the winner sends a message, so the auction is fast and reveals only the winning price.
- The clock lowers the price a little. With decrement , the winner pays the largest level at most its stop price, so the seller loses less than compared with the sealed first-price auction on the same bids.
Variants and improvements
- Many units. For a lot of several units, the winner at a level chooses how many units to buy at that price, and the clock goes on for the rest. Flower auctions work this way.
- Restart with a reserve. If the clock passes the reserve without acceptance, the item is held back or offered again later.
- Procurement. A rising clock with costs in place of values: the price offered for a contract rises until one supplier accepts. This is the same game as a first-price procurement auction.
- Continuous time. With the Dutch auction is exactly the first-price auction.
When to use it
Use the Dutch auction to sell many lots quickly, one after another, with bidders who are present at the same time, as in the flower, fish and produce markets of the Netherlands and other countries. It reveals only the winning price, needs one message per lot and ends as soon as a bidder accepts. It is a poor choice when the bidders are not all present at the same moment, or when the seller wants the bidders to learn from each other, as in an English auction with common values.
Pitfalls
- Dutch is not English. The English auction rises and has the outcome of the second-price auction with private values; the Dutch auction falls and has the outcome of the first-price auction. Their expected revenues are equal only under the conditions of revenue equivalence.
- The name is used for another auction. In finance, a "Dutch auction" of shares often means a uniform-price auction, in which all winners pay the same clearing price. That is a different mechanism with different incentives.
- Behaviour differs from theory. The strategic equivalence is a theorem, but people do not always bid the same way. Laboratory subjects earned the seller less in Dutch auctions than in sealed first-price auctions (Cox, Roberson and Smith 1982), while a field test with trading cards found the opposite (Lucking-Reiley 1999).
- Rounding of the clock. A test that compares the Dutch and first-price auctions must round the bids down to the clock levels, or use bids on the levels. With floats, compute the level as and not by repeated subtraction.
- Ties at a level. Two bidders can accept at the same level. The rule must say who wins, and a real system needs a fair way to decide who pressed first.
Implementations
Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/dutch-auction/. The authors are listed in prov/6N55V9.jsonl.
from fractions import Fraction
from typing import Sequence, Union
Number = Union[int, Fraction, float]
def dutch_auction(
stops: Sequence[Number], top: Number, delta: Number, reserve: Number = 0
) -> tuple[int | None, Number]:
"""Run a descending clock auction with a fixed decrement.
The clock starts at top and falls by delta, and it never goes below the
reserve. stops[i] is the price at which bidder i accepts: bidder i stops
the clock at the first level p with stops[i] >= p. If several bidders
accept at the same level, the smallest index wins. The winner pays the
level. Return the 0-based winner and the price, or (None, 0) if the clock
passes the reserve with no acceptance. The level is computed as
top - k * delta, so floats do not accumulate rounding error.
"""
if delta <= 0:
raise ValueError("delta must be positive")
k = 0
price = top # @line L1
while price >= reserve: # @line L2
accepting = [i for i in range(len(stops)) if stops[i] >= price] # @line L3
if accepting: # @line L4
return accepting[0], price # @line L4
k += 1
price = top - k * delta # @line L5
return None, 0 # @line L6
test_dutch_auction.py 87 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/dutch-auction/. The authors are listed in prov/6N55V9.jsonl.
import math
import random
from fractions import Fraction
import pytest
from dutch_auction import dutch_auction
def first_price(bids, reserve):
"""Reference first-price rule: highest bid at least the reserve, smallest index on ties."""
eligible = [i for i in range(len(bids)) if bids[i] >= reserve]
if not eligible:
return None, 0
best = max(bids[i] for i in eligible)
return min(i for i in eligible if bids[i] == best), best
def round_to_clock(s, top, delta):
"""The largest clock level top - k delta (k >= 0) that is at most s."""
if s >= top:
return top
return top - math.ceil((top - s) / delta) * delta
def test_example() -> None:
# Values (10, 7, 3), equilibrium-like stops (6, 4, 2), clock from 12 down by 1.
assert dutch_auction([6, 4, 2], 12, 1) == (0, 6)
assert dutch_auction([Fraction(13, 2), 4, 2], 12, 1) == (0, 6)
assert dutch_auction([6, 4, 2], 12, 1, reserve=7) == (None, 0)
assert dutch_auction([6, 6, 2], 12, 1) == (0, 6)
assert dutch_auction([2, 6, 6], 12, 1) == (1, 6)
def test_edges() -> None:
assert dutch_auction([], 10, 1) == (None, 0)
assert dutch_auction([20, 3], 10, 1) == (0, 10)
assert dutch_auction([3, 20], 10, 1) == (1, 10)
assert dutch_auction([0], 10, 1) == (0, 0)
assert dutch_auction([Fraction(1, 2)], 10, 1, reserve=1) == (None, 0)
with pytest.raises(ValueError):
dutch_auction([1], 10, 0)
def test_equals_first_price_on_rounded_bids() -> None:
rng = random.Random(1)
for _ in range(2000):
n = rng.randrange(0, 6)
delta = Fraction(rng.randrange(1, 5), 2)
top = Fraction(rng.randrange(8, 16))
reserve = Fraction(rng.randrange(0, 4))
stops = [Fraction(rng.randrange(0, 40), 3) for _ in range(n)]
rounded = [round_to_clock(s, top, delta) for s in stops]
assert dutch_auction(stops, top, delta, reserve) == first_price(rounded, reserve)
def test_equals_first_price_on_clock_bids() -> None:
rng = random.Random(2)
for _ in range(1000):
bids = [Fraction(rng.randrange(0, 21), 4) for _ in range(rng.randrange(1, 6))]
assert dutch_auction(bids, 5, Fraction(1, 4)) == first_price(bids, 0)
def test_price_is_within_delta_of_highest_stop() -> None:
rng = random.Random(3)
for _ in range(1000):
stops = [Fraction(rng.randrange(0, 100), 9) for _ in range(rng.randrange(1, 6))]
w, p = dutch_auction(stops, 12, Fraction(1, 3))
assert max(stops) - Fraction(1, 3) < p <= max(stops)
assert stops[w] >= p
def test_revenue_uniform() -> None:
# Equilibrium stops (n - 1) v / n with uniform values; the price is within
# delta = 0.01 below the first-price price, whose mean is (n - 1)/(n + 1).
rng = random.Random(4)
for n in (2, 3):
trials, total = 5000, 0.0
for _ in range(trials):
stops = [(n - 1) * rng.random() / n for _ in range(n)]
_, p = dutch_auction(stops, 1.0, 0.01)
total += p
# Hoeffding with 5000 prices in [0, 1]: deviation above 0.03 has probability below 0.001.
assert abs(total / trials - (n - 1) / (n + 1)) < 0.03 + 0.01
History
Descending clock auctions are used in the Netherlands for flowers, fruit and vegetables, and in many fish markets, and the name comes from the Dutch flower auctions. Vickrey (1961) noted that the Dutch auction and the first-price sealed-bid auction are strategically the same, and used this to analyse both at once. Milgrom and Weber (1982) showed that the equivalence holds with any values, while the equivalence of the English and second-price auctions needs private values. Experiments then tested whether real bidders treat the two forms the same, with mixed results.
References
- William Vickrey, Counterspeculation, auctions, and competitive sealed tenders, Journal of Finance 16(1) (1961), 8-37, the descending auction and its equivalence with the first-price sealed-bid auction
- Vijay Krishna, Auction Theory, 2nd edition, Academic Press, 2010, Chapter 1 (the common auction forms and the strategic equivalence of the Dutch and first-price auctions) and Chapter 2, Section 2.3 (the first-price equilibrium, which is also the Dutch equilibrium)
- Paul R. Milgrom and Robert J. Weber, A theory of auctions and competitive bidding, Econometrica 50(5) (1982), 1089-1122, the strategic equivalence of the Dutch and first-price auctions, which holds also with interdependent values
- David Lucking-Reiley, Using field experiments to test equivalence between auction formats, magic on the Internet, American Economic Review 89(5) (1999), 1063-1080, a field test in which Dutch auctions of trading cards earned more than first-price sealed-bid auctions of the same cards
- James C. Cox, Bruce Roberson and Vernon L. Smith, Theory and behavior of single object auctions, in Vernon L. Smith (ed.), Research in Experimental Economics, Volume 2, JAI Press, 1982, 1-43, laboratory tests in which Dutch auctions earned less than first-price sealed-bid auctions
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H1 sketch |
|
| Lean | L0 no Lean part |
|
| Code (python) | I0 not checked yet |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag 6N55V9 Edit this page History Report an error Markdown