Skip to main content

STBM: Stochastic Trading Behavior Model for Financial Markets

  • Conference paper
  • First Online:
Advances in Artificial Intelligence (JSAI 2020)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1357))

Included in the following conference series:

  • 369 Accesses

Abstract

This is an extension from a selected paper from JSAI2020. In this study, we propose a stochastic model for predicting the behavior of financial market traders. First, using real ordering data that includes traders’ information, we cluster the traders and select a recognizable cluster that appears to employ a high-frequency traders’ market-making (HFT-MM) strategy. Then, we use an LSTM-based stochastic prediction model to predict the traders’ behavior. This model takes the market order book state and a trader’s ordering state as input and probabilistically predicts the trader’s actions over the next one minute. The results show that our model can outperform both a model that randomly takes actions and a conventional deterministic model. Herein, we only analyze limited trader type but, if our model is implemented to all trader types, this will increase the accuracy of predictions for the entire market.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://www.jpx.co.jp/english/systems/equities-trading/. This data is available for those who have a contract for the disclosure system.

  2. 2.

    This data is generally not available. It requires a special agreement with Japan Exchange Group.

References

  1. Avellaneda, M., Stoikov, S.: High-frequency trading in a limit order book. Quant. Financ. 8(3), 217–224 (2008)

    Article  MathSciNet  Google Scholar 

  2. Chiarella, C., Iori, G.: A simulation analysis of the microstructure of double auction markets. Quant. Financ. 2(5), 346–353 (2002)

    Article  Google Scholar 

  3. Dixon, M.F., Polson, N.G., Sokolov, V.O.: Deep learning for spatio temporal modeling: dynamic traffic flows and high frequency trading. Quant. Financ. 19(4), 549–570 (2019)

    Article  Google Scholar 

  4. Hirano, M., Izumi, K., Matsushima, H., Sakaji, H.: Comparing actual and simulated HFT traders’ behavior for agent design. J. Artif. Soc. Soc. Simul. 23(3), 6 (2020). https://doi.org/10.18564/jasss.4304

    Article  Google Scholar 

  5. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

  6. Hosaka, G.: Analysis of high-frequency trading at Tokyo stock exchange. In: JPX Working Paper (2014)

    Google Scholar 

  7. Kercheval, A.N., Zhang, Y.: Modelling high-frequency limit order book dynamics with support vector machines. Quant. Financ. 15(8), 1315–1329 (2015)

    Article  MathSciNet  Google Scholar 

  8. Kim, K.: Financial time series forecasting using support vector machines. Neurocomputing 55, 307–319 (2003)

    Article  Google Scholar 

  9. Miyazaki, B., Izumi, K., Toriumi, F., Takahashi, R.: Change detection of orders in stock markets using a Gaussian mixture model. Intell. Syst. Acc. Financ. Manage. 21(3), 169–191 (2014)

    Article  Google Scholar 

  10. Nanex: Nanex - Market Crop Circle of The Day (2010). http://www.nanex.net/FlashCrash/CCircleDay.html

  11. Sirignano, J.A.: Deep learning for limit order books. Quant. Financ. 19(4), 549–570 (2019)

    Article  MathSciNet  Google Scholar 

  12. Tashiro, D., Izumi, K.: Estimating stock orders using deep learning and high frequency data [in Japanese]. In: Proceedings of the 31nd Annual Conference of the Japanese Society for Artificial, p. 2D2-2 (2017)

    Google Scholar 

  13. Tashiro, D., Matsushima, H., Izumi, K., Sakaji, H.: Encoding of high-frequency order information and prediction of short-term stock price by deep learning. Quant. Financ. 19(9), 1499–1506 (2019)

    Article  MathSciNet  Google Scholar 

  14. Tsantekidis, A., Passalis, N., Tefas, A., Kanniainen, J., Gabbouj, M., Iosifidis, A.: Using Deep learning to detect price change indications in financial markets. In: Proceedings of 25th European Signal Processing Conference, pp. 2580–2584 (2017)

    Google Scholar 

  15. Uno, J., Goshima, K., Tobe, R.: Cluster analysis of trading behavior: an attempt to extract HFT [in Japanese]. In: The 12th Annual Conference of Japanese Association of Behavioral Economics and Finance (2018)

    Google Scholar 

  16. Wang, J., Sun, T., Liu, B., Cao, Y., Zhu, H.: CLVSA: a convolutional LSTM based variational sequence-to-sequence model with attention for predicting trends of financial markets. In: Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence (IJCAI-19), pp. 3705–3711 (2019)

    Google Scholar 

  17. Zhang, L., Aggarwal, C., Qi, G.J.: Stock price prediction via discovering multi-frequency trading patterns. In: Proceedings of the 23rd ACM SIGKDD, pp. 2141–2149 (2017)

    Google Scholar 

Download references

Acknowledgement

We thank the Japan Exchange Group, Inc. for providing the data.This research was supported by MEXT via Exploratory Challenges on Post-K computer (study on multilayered multiscale space-time simulations for social and economic phenomena) and the computational resources of the HPCI system provided by the Information Technology Center at The University of Tokyo, and the Joint Center for Advanced High Performance Computing through the HPCI System Research Project (Project ID: hp190150).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Masanori Hirano .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Hirano, M., Matsushima, H., Izumi, K., Sakaji, H. (2021). STBM: Stochastic Trading Behavior Model for Financial Markets. In: Yada, K., et al. Advances in Artificial Intelligence. JSAI 2020. Advances in Intelligent Systems and Computing, vol 1357. Springer, Cham. https://doi.org/10.1007/978-3-030-73113-7_14

Download citation

Publish with us

Policies and ethics