Using Time As A Strategic Element in Continuous Double Auctions
Using Time As A Strategic Element in Continuous Double Auctions
1 Introduction
Brokers of the New York Stock Exchange (NYSE) exchange about 1.6 billion
shares worth $45 billion per day. The dominant market mechanism for the ex-
change of commodity goods is the continuous double auction. Each trader is
assumed to have private valuations for the goods to be traded that are only
known to itself. Traders place offers at self-elected times to indicate that they
are willing to buy (bid) or sell (ask) a good at a certain price. Market clearing
occurs each time a new offer arrives. The highest open bid is then tried to be
matched with the lowest open ask.
Classic economic theory predicts that the price for one unit of a commod-
ity settles at an equilibrium price where the quantity demanded is equal to
the quantity supplied. Smith [8] showed that the transaction price time series
has a tendency to converge towards the market equilibrium price even with a
relatively small number of human traders. Gode & Sunder [4] introduced two
types of “Zero-Intelligence” computer trading strategies that follow a random
pricing scheme. Market efficiency was shown to reach values up to 99%. Cliff
[1] followed with a more sophisticated trading strategy called “Zero-Intelligence-
Plus”. Traders are able to observe market activity and adjust their offer prices
accordingly. Both trading strategies apply the same implicit heuristic about the
timing of offers. Offers are placed as soon as their price is being determined.
This article extends both trading strategies Zero-Intelligence and Zero-Intelligence-
Plus with alternative timing strategies and compares their performance through
a series of simulation experiments with their original counterparts. The complex-
ity of the strategies used in this article is summarized in Table 1. The concept of
random pricing by Zero-Intelligence agents is transferred and similarly applied
to time in order to investigate the performance of agents that do not use time
strategically. The complex form of pricing by Zero-Intelligence-Plus agents is
enhanced with a sophisticated timing strategy to investigate the performance of
agents that use time as a strategic element. This allows to evaluate the perfor-
mance of traders and markets with varying strategic reasoning about time.
The outline of this paper is as follows. Section 2 introduces the trading strate-
gies to be investigated together with their enhancements and performance mea-
sures. Section 3 describes the experiments. It gives a description of the simulation
environment and the specific experimental setups together with their results. Fi-
nally, the last section draws the conclusions.
Table 1. This table lists the sophistication of the strategies’ reasoning about the price
and time. Each of the strategies is explained in Section 2.
Supply and demand functions of market 1 Supply and demand functions of market 2
200 Supply 200 Supply
Demand Demand
Equilibrium Equilibrium
price=80 price=70
150 150
Price
Price
100 100
50 50
0 0
0 10 20 30 40 50 60 70 0 10 20 30 40 50 60 70
Quantity Quantity
Fig. 1. Supply and demand functions intro- Fig. 2. Supply and demand functions intro-
duced by Gode & Sunder [4]. Sellers’ the- duced by Gode & Sunder [4]. Sellers’ the-
oretical profit = 1050, Buyer’s theoretical oretical profit = 500, Buyers’ theoretical
profit = 500. profit = 1000.
250 150
Price
200
Price
150 100
100
50 50
0
0 20 40 60 80 100 120
Quantity
0
0 10 20 30 40 50 60 70
Quantity
Results Figure 5 shows the transaction price time series in market 1 with a
population of ZIU traders. The shape of the graph is identical to the one created
by Gode & Sunder [4]. The pattern can be stipulated as being random. This is
also the case for market 2 and B.
The transaction price time series in market 1 with a population of ZIC traders
is shown in Figure 6. Again, the shape of the graph is identical to the one created
by Gode & Sunder [4]. The price series is less volatile than the price series of
the ZIU traders. Also, the price series converges towards the equilibrium price
within each period. The observed pattern is similar for market 2 and B.
Transaction price time series in market 1 with a population of ZIUT traders
is shown in Figure 8. The shape of the graph is similar to Figure 5. A random
pattern can be observed while periods take longer to finish because traders do
Transaction price time series ZIU Transaction price time series ZICT
200 Trades 200 Trades
Period range Period range
Equilibrium Equilibrium
price=80 price=80
150 150
Price
Price
100 100
50 50
0 0
0 50 100 150 200 250 0 100 200 300 400 500 600
Time Time
Fig. 5. Transaction price time series for Fig. 6. Transaction price time series for
market 1 with 6 buyers and 6 sellers of ZIU market 1 with 6 buyers and 6 sellers of ZIC
traders (heuristic timing). traders (heuristic timing).
Traders Market 1 Market 2 Market B
x̄ (s) x̄ (s) x̄ (s)
ZIU 90.32 (± 0.00) 90.00 (± 0.00) 0.00 (± 0.00)
ZIC 99.17 (± 0.23) 98.96 (± 0.27) 97.21 (± 0.61)
ZIU-T 90.32 (± 0.00) 90.00 (± 0.00) 0.00 (± 0.00)
ZIC-T 99.12 (± 0.24) 98.91 (± 0.28) 96.95 (± 0.67)
Fig. 7. Sample mean and sample standard deviation of the efficiency of ZI traders,
sample size = 1000.
not submit offers as soon as possible anymore but randomly distributed over the
least remaining time of the period. The pattern is similar for market 2 and B.
Figure 9 shows the transaction price time series in market 1 with a population
of ZICT traders. The price series looks similar than the one in Figure 6. It still
converges to the equilibrium price but not as gradually as it was the case for
ZIC traders.
Figure 7 shows the sample mean and the sample standard deviation of the
allocative efficiency for the experiments above over 1000 runs. The designs of
market 1 and 2 imply efficiencies of at least 90 % which occurs when all available
units are being traded as it is the case for both types of unconstrained traders.
The intra-marginal and the extra-marginal side of the symmetric market B are of
equal size. Hence the allocative efficiency of the unconstrained traders in it is 0.
Thus, Gode & Sunder [4] could have used truly ZIU agents for their experiments
already. Introducing a timing heuristic does not increase the efficiency value. In
the constrained case however, the introduction of a timing heuristic does lead to
a slightly higher efficiency than it is the case with random timing.
The mean actual profits achieved by ZIC and ZICT traders per period in
market B when placed in competition is shown in Figure 10. ZIC traders are
able to achieve a mean actual profit of above 920 price units while ZICT traders
Transaction price time series ZIUT Transaction price time series ZICT
200 Trades 200 Trades
Period range Period range
Equilibrium Equilibrium
price=80 price=80
150 150
Price
Price
100 100
50 50
0 0
0 200 400 600 800 1000 1200 1400 1600 0 2000 4000 6000 8000 10000 12000 14000 16000 18000
Time Time
Fig. 8. Transaction price time series for Fig. 9. Transaction price time series for
market 1 with 6 buyers and 6 sellers of market 1 with 6 buyers and 6 sellers of
ZIUT traders (random timing). ZICT traders (random timing).
are only able to achieve a mean actual profit of around 800 price units. Market
theory predicts a theoretical profit of 900 units for this market. This shows that
ZIC traders are more competitive due to their heuristic of time. ZICT traders
are not able to achieve high profit values. They are even exploited by ZIC traders
which explains their profit being above the predicted theoretical profit.
Results Figure 11 shows the transaction price time series in market A with a
population of ZIP traders. As can be seen the transaction prices scallop around
the equilibrium price of 200 price units during the first four periods. However,
the price series converges towards the equilibrium price where it stays stable for
the last two periods.
Figure 13 shows the transaction price time series in market A with a homo-
geneous population of ZIPT traders. The shape of the graph looks similar to
figure 11. The transaction price time series scallops around the equilibrium price
for the first four periods and stabilizes in period five.
Transaction price time series ZIP
Actual profits ZIC vs. ZICT
400 Trades
940 ZIC Buyer Period range
ZIC Seller Equilibrium
ZICT Buyer price=200
ZICT Seller 350
920
300
900
250
880
Actual profit
Price
200
860
150
840
100
820
50
800
0
780 0 50 100 150 200 250 300 350 400
0 1 2 3 4 5
Time
Period
Fig. 10. Actual profits earned in market B Fig. 11. Transaction price time series for
by a heterogeneous population of ZIC and market A with 6 buyers and 6 sellers of ZIP
ZICT traders. traders (heuristic timing).
Fig. 12. Sample mean and sample standard deviation of the efficiency of ZIP and ZIPT
traders, sample size = 1000.
300
15
Alpha
250
Price
200 10
150
5
100
50
0
0 1 2 3 4 5
Period
0
0 200 400 600 800 1000 1200 1400 1600 1800
Time
300 4500
Actual profit
4000
250
3500
Price
200 3000
2500
150
2000
100
1500
50 1000
0 1 2 3 4 5
Period
0
0 100 200 300 400 500 600 700 800
Time
seen that ZIPT traders trade closer to the equilibrium price and are therefore
less vulnerable to being exploited. It is underlined by Figure 14 which shows the
sample mean of the coefficients of convergence for each period.
4 Conclusions
References
1. Dave Cliff. Minimal-intelligence agents for bargaining behaviors in market-based
environments. Technical report, School of Cognitive and Computing Sciences, Uni-
versity of Sussex, 1997.
2. Rajarshi Das, James E. Hanson, Jeffrey O. Kephart, and Gerald Tesauro. Agent-
human interactions in the continuous double auction. In Proceedings of the 17th
international joint conference on Artificial intelligence - Volume 2, pages 1169–1176,
San Francisco, CA, USA, 2001. Morgan Kaufmann Publishers Inc.
3. Steven Gjerstad and John Dickhaut. Price formation in double auctions. GAMES
AND ECONOMIC BEHAVIOR, 22:1–29, 1998.
4. Dhananjay K Gode and Shyam Sunder. Allocative efficiency of markets with zero-
intelligence traders: Market as a partial substitute for individual rationality. Journal
of Political Economy, 101(1):119–37, 1993.
5. Simon Parsons, Marek Marcinkiewicz, Jinzhong Niu, and Steve Phelps. Everything
you wanted to know about double auctions but were afraid to (bid or) ask. Technical
report, in preparation.
6. Chris Preist and Maarten van Tol. Adaptive agents in a persistent shout double
auction. In Proceedings of the first international conference on Information and
computation economies, ICE ’98, pages 11–18, New York, NY, USA, 1998. ACM.
7. John Rust, Richard Palmer, and John H. Miller. Behavior of Trading Automata in
a Computerized Double Auction Market. In D. Friedman, J. Geanakoplos, D. Lane,
and J. Rust, editors, The Double Auction Market: Institutions, Theories and Evi-
dence. Addison Wesley, 1992.
8. Vernon Smith. An experimental study of competitive market behavior. Journal of
Political Economy, 70, 1962.