Skip to main content

Optimal Online Two-Way Trading with Bounded Number of Transactions

  • Conference paper
  • First Online:
Computing and Combinatorics (COCOON 2017)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10392))

Included in the following conference series:

Abstract

We consider a two-way trading problem, where investors buy and sell a stock whose price moves within a certain range. Naturally they want to maximize their profit. Investors can perform up to k trades, where each trade must involve the full amount. We give optimal algorithms for three different models which differ in the knowledge of how the price fluctuates. In the first model, there are global minimum and maximum bounds m and M. We first show an optimal lower bound of \(\varphi \) (where \(\varphi =M/m\)) on the competitive ratio for one trade, which is the bound achieved by trivial algorithms. Perhaps surprisingly, when we consider more than one trade, we can give a better algorithm that loses only a factor of \(\varphi ^{2/3}\) (rather than \(\varphi \)) per additional trade. Specifically, for k trades the algorithm has competitive ratio \(\varphi ^{(2k+1)/3}\). Furthermore we show that this ratio is the best possible by giving a matching lower bound. In the second model, m and M are not known in advance, and just \(\varphi \) is known. We show that this only costs us an extra factor of \(\varphi ^{1/3}\), i.e., both upper and lower bounds become \(\varphi ^{(2k+2)/3}\). Finally, we consider the bounded daily return model where instead of a global limit, the fluctuation from one day to the next is bounded, and again we give optimal algorithms, and interestingly one of them resembles common trading algorithms that involve stop loss limits.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    In the terminology of [5] this should be called ‘two-way search’, but we feel that the term does not convey its application in stock market trading.

References

  1. Chen, G.-H., Kao, M.-Y., Lyuu, Y.-D., Wong, H.-K.: Optimal buy-and-hold strategies for financial markets with bounded daily returns. SIAM J. Comput. 31(2), 447–459 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  2. Chin, F.Y.L., Fu, B., Guo, J., Han, S., Hu, J., Jiang, M., Lin, G., Ting, H.F., Zhang, L., Zhang, Y., Zhou, D.: Competitive algorithms for unbounded one-way trading. Theoret. Comput. Sci. 607(1), 35–48 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  3. Clemente, J., Hromkovič, J., Komm, D., Kudahl, C.: Advice complexity of the online search problem. In: Mäkinen, V., Puglisi, S.J., Salmela, L. (eds.) IWOCA 2016. LNCS, vol. 9843, pp. 203–212. Springer, Cham (2016). doi:10.1007/978-3-319-44543-4_16

    Chapter  Google Scholar 

  4. Damaschke, P., Ha, P.H., Tsigas, P.: Online search with time-varying price bounds. Algorithmica 55, 619–642 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  5. El-Yaniv, R., Fiat, A., Karp, R.M., Turpin, G.: Optimal search and one-way trading online algorithms. Algorithmica 30(1), 101–139 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  6. Glynn, P.W., Iglehart, D.L.: Trading securities using trailing stops. Manage. Sci. 41(6), 1096–1106 (1995)

    Article  MATH  Google Scholar 

  7. Lorenz, J., Panagiotou, K., Steger, A.: Optimal algorithms for \(k\)-search with application in option pricing. Algorithmica 55(2), 311–328 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  8. Mohr, E., Ahmed, I., Schmidt, G.: Online algorithms for conversion problems: a survey. Surv. Oper. Res. Manage. Sci. 19, 87–104 (2014)

    MathSciNet  Google Scholar 

  9. Schmidt, G., Mohr, E., Kersch, M.: Experimental analysis of an online trading algorithm. Electron. Notes Discrete Math. 36, 519–526 (2010)

    Article  MATH  Google Scholar 

  10. Schroeder, P., Schmidt, G., Kacem, I.: Optimal on-line algorithms for bi-directional non-preemptive conversion with interrelated conversion rates. In: Proceedings of the 4th IEEE Conference on Control, Decision and Information Technology, pp. 28–33 (2016)

    Google Scholar 

  11. Zhang, W., Xu, Y., Zheng, F., Dong, Y.: Optimal algorithms for online time series search and one-way trading with interrelated prices. J. Comb. Optim. 23, 159–166 (2012)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Stanley P. Y. Fung .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Fung, S.P.Y. (2017). Optimal Online Two-Way Trading with Bounded Number of Transactions. In: Cao, Y., Chen, J. (eds) Computing and Combinatorics. COCOON 2017. Lecture Notes in Computer Science(), vol 10392. Springer, Cham. https://doi.org/10.1007/978-3-319-62389-4_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-62389-4_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-62388-7

  • Online ISBN: 978-3-319-62389-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics