Optimal Search and One-Way Trading Online Algorithms

Abstract. This paper is concerned with the time series search and one-way trading problems. In the (time series) search problem a player is searching for the maximum (or minimum) price in a sequence that unfolds sequentially, one price at a time. Once during this game the player can decide to accept the current price p in which case the game ends and the player's payoff is p . In the one-way trading problem a trader is given the task of trading dollars to yen. Each day, a new exchange rate is announced and the trader must decide how many dollars to convert to yen according to the current rate. The game ends when the trader trades his entire dollar wealth to yen and his payoff is the number of yen acquired. The search and one-way trading are intimately related. Any (deterministic or randomized) one-way trading algorithm can be viewed as a randomized search algorithm. Using the competitive ratio as a performance measure we determine the optimal competitive performance for several variants of these problems. In particular, we show that a simple threat-based strategy is optimal and we determine its competitive ratio which yields, for realistic values of the problem parameters, surprisingly low competitive ratios. We also consider and analyze a one-way trading game played against an adversary called Nature where the online player knows the probability distribution of the maximum exchange rate and that distribution has been chosen by Nature. Finally, we consider some applications for a special case of portfolio selection called two-way trading in which the trader may trade back and forth between cash and one asset.

[1]  P. B. Coaker,et al.  Applied Dynamic Programming , 1964 .

[2]  Robert J . Aumann,et al.  28. Mixed and Behavior Strategies in Infinite Extensive Games , 1964 .

[3]  David S. Johnson,et al.  Near-optimal bin packing algorithms , 1973 .

[4]  Jeffrey D. Ullman,et al.  Worst-Case Performance Bounds for Simple One-Dimensional Packing Algorithms , 1974, SIAM J. Comput..

[5]  S. Lippman,et al.  THE ECONOMICS OF JOB SEARCH: A SURVEY* , 1976 .

[6]  Andrew Chi-Chih Yao,et al.  New Algorithms for Bin Packing , 1978, JACM.

[7]  D. Rosenfield,et al.  Optimal adaptive price search , 1981 .

[8]  S. Lippman,et al.  Chapter 6 The economics of uncertainty: Selected topics and probabilistic methods , 1981 .

[9]  P. Freeman The Secretary Problem and its Extensions: A Review , 1983 .

[10]  Christos H. Papadimitriou,et al.  Games against nature , 1983, 24th Annual Symposium on Foundations of Computer Science (sfcs 1983).

[11]  Robert E. Tarjan,et al.  Amortized efficiency of list update and paging rules , 1985, CACM.

[12]  Anna R. Karlin,et al.  Competitive snoopy caching , 1986, 27th Annual Symposium on Foundations of Computer Science (sfcs 1986).

[13]  Allan Borodin,et al.  An optimal online algorithm for metrical task systems , 1987, STOC.

[14]  Anne Condon,et al.  Computational models of games , 1989, ACM distinguished dissertations.

[15]  Allan Borodin,et al.  On the power of randomization in online algorithms , 1990, STOC '90.

[16]  David Siegmund,et al.  The theory of optimal stopping , 1991 .

[17]  Amos Fiat,et al.  Competitive Paging Algorithms , 1991, J. Algorithms.

[18]  Prabhakar Raghavan,et al.  A Statistical Adversary for On-line Algorithms , 1991, On-Line Algorithms.

[19]  Ran El-Yaniv,et al.  The statistical adversary allows optimal money-making trading strategies , 1995, SODA '95.

[20]  Nimrod Megiddo,et al.  Improved algorithms and analysis for secretary problems and generalizations , 1995, Proceedings of IEEE 36th Annual Foundations of Computer Science.

[21]  Erik Ordentlich,et al.  Universal portfolios with side information , 1996, IEEE Trans. Inf. Theory.

[22]  Yoram Singer,et al.  On‐Line Portfolio Selection Using Multiplicative Updates , 1998, ICML.

[23]  Sabah al-Binali,et al.  The competitive analysis of risk taking with applications to online trading , 1997, Proceedings 38th Annual Symposium on Foundations of Computer Science.

[24]  Erik Ordentlich,et al.  The Cost of Achieving the Best Portfolio in Hindsight , 1998, Math. Oper. Res..