IDEAS home Printed from https://ideas.repec.org/a/eee/finlet/v47y2022ipas1544612321004827.html
   My bibliography  Save this article

LSTM forecasting foreign exchange rates using limit order book

Author

Listed:
  • Ito, Katsuki
  • Iima, Hitoshi
  • Kitamura, Yoshihiro

Abstract

We use long and short term memory (LSTM) to predict intraday returns in foreign exchange markets. As predictors, we use events in the limit order book. Compared to other models, our model predicts the movement of a 1-min midquote return. When we consider the bid-ask spread, this prediction does not bring economic gains. This result indicates that these events can contribute to price discovery and the studied markets efficiently set the spread.

Suggested Citation

  • Ito, Katsuki & Iima, Hitoshi & Kitamura, Yoshihiro, 2022. "LSTM forecasting foreign exchange rates using limit order book," Finance Research Letters, Elsevier, vol. 47(PA).
  • Handle: RePEc:eee:finlet:v:47:y:2022:i:pa:s1544612321004827
    DOI: 10.1016/j.frl.2021.102517
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S1544612321004827
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.frl.2021.102517?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Martin D.D. Evans & Richard K. Lyons, 2017. "Order Flow and Exchange Rate Dynamics," World Scientific Book Chapters, in: Studies in Foreign Exchange Economics, chapter 6, pages 247-290, World Scientific Publishing Co. Pte. Ltd..
    2. Berger, David W. & Chaboud, Alain P. & Chernenko, Sergey V. & Howorka, Edward & Wright, Jonathan H., 2008. "Order flow and exchange rate dynamics in electronic brokerage system data," Journal of International Economics, Elsevier, vol. 75(1), pages 93-109, May.
    3. Jonathan Brogaard & Terrence Hendershott & Ryan Riordan, 2019. "Price Discovery without Trading: Evidence from Limit Orders," Journal of Finance, American Finance Association, vol. 74(4), pages 1621-1658, August.
    4. Kozhan, Roman & Salmon, Mark, 2012. "The information content of a limit order book: The case of an FX market," Journal of Financial Markets, Elsevier, vol. 15(1), pages 1-28.
    5. Easley, David, et al, 1996. "Liquidity, Information, and Infrequently Traded Stocks," Journal of Finance, American Finance Association, vol. 51(4), pages 1405-1436, September.
    6. Kyle, Albert S, 1985. "Continuous Auctions and Insider Trading," Econometrica, Econometric Society, vol. 53(6), pages 1315-1335, November.
    7. Chen, Wei & Xu, Huilin & Jia, Lifen & Gao, Ying, 2021. "Machine learning model for Bitcoin exchange rate prediction using economic and technology determinants," International Journal of Forecasting, Elsevier, vol. 37(1), pages 28-43.
    8. Zhang, Yongjie & Chu, Gang & Shen, Dehua, 2021. "The role of investor attention in predicting stock prices: The long short-term memory networks perspective," Finance Research Letters, Elsevier, vol. 38(C).
    9. Shun Chen & Lei Ge, 2019. "Exploring the attention mechanism in LSTM-based Hong Kong stock price movement prediction," Quantitative Finance, Taylor & Francis Journals, vol. 19(9), pages 1507-1515, September.
    10. Fischer, Thomas & Krauss, Christopher, 2018. "Deep learning with long short-term memory networks for financial market predictions," European Journal of Operational Research, Elsevier, vol. 270(2), pages 654-669.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Qifa Xu & Zezhou Wang & Cuixia Jiang & Yezheng Liu, 2023. "Deep learning on mixed frequency data," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(8), pages 2099-2120, December.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Ledenyov, Dimitri O. & Ledenyov, Viktor O., 2015. "Wave function method to forecast foreign currencies exchange rates at ultra high frequency electronic trading in foreign currencies exchange markets," MPRA Paper 67470, University Library of Munich, Germany.
    2. Jacob Gyntelberg & Mico Loretan & Tientip Subhanij & Eric Chan, 2010. "Private information, stock markets, and exchange rates," BIS Papers chapters, in: Bank for International Settlements (ed.), The international financial crisis and policy challenges in Asia and the Pacific, volume 52, pages 186-210, Bank for International Settlements.
    3. Syrstad, Olav & Viswanath-Natraj, Ganesh, 2022. "Price-setting in the foreign exchange swap market: Evidence from order flow," Journal of Financial Economics, Elsevier, vol. 146(1), pages 119-142.
    4. Jan Hanousek & Hoje Jo & Christos Pantzalis & Jung Chul Park, 2023. "A Dilemma of Self-interest vs. Ethical Responsibilities in Political Insider Trading," Journal of Business Ethics, Springer, vol. 187(1), pages 137-167, September.
    5. Onur, Esen & Roberts, John S. & Tuzun, Tugkan, 2023. "Trader positions and aggregate portfolio demand," The Journal of Economic Asymmetries, Elsevier, vol. 27(C).
    6. Lovcha, Yuliya & Perez-Laborda, Alejandro, 2013. "Is exchange rate – Customer order flow relationship linear? Evidence from the Hungarian FX market," Journal of International Money and Finance, Elsevier, vol. 35(C), pages 20-35.
    7. Viet Hoang Nguyen & Yongcheol Shin, 2011. "Asymmetric Price Impacts of Order Flow on Exchange Rate Dynamics," Melbourne Institute Working Paper Series wp2011n14, Melbourne Institute of Applied Economic and Social Research, The University of Melbourne.
    8. Sviatoslav Rosov & F. Douglas Foster, 2014. "Measuring the information content of customer foreign exchange orders," Australian Journal of Management, Australian School of Business, vol. 39(2), pages 247-264, May.
    9. Berkman, Henk & Koch, Paul D., 2008. "Noise trading and the price formation process," Journal of Empirical Finance, Elsevier, vol. 15(2), pages 232-250, March.
    10. Nina Karnaukh & Angelo Ranaldo & Paul Söderlind, 2015. "Understanding FX Liquidity," The Review of Financial Studies, Society for Financial Studies, vol. 28(11), pages 3073-3108.
    11. Olav Syrstad & Ganesh Viswanath-Natraj, 2020. "Price-setting in the foreign exchange swap market: Evidence from order flow," Working Paper 2020/16, Norges Bank.
    12. Gyntelberg, Jacob & Loretan, Mico & Subhanij, Tientip, 2018. "Private information, capital flows, and exchange rates," Journal of International Money and Finance, Elsevier, vol. 81(C), pages 40-55.
    13. Makarov, Igor & Schoar, Antoinette, 2020. "Trading and arbitrage in cryptocurrency markets," Journal of Financial Economics, Elsevier, vol. 135(2), pages 293-319.
    14. Reitz, Stefan & Schmidt, Markus & Taylor, Mark P., 2009. "Financial Intermediation and the Role of Price Discrimination in a Two-Tier Market," MPRA Paper 15602, University Library of Munich, Germany.
    15. Lyons, Richard K. & Moore, Michael J., 2009. "An information approach to international currencies," Journal of International Economics, Elsevier, vol. 79(2), pages 211-221, November.
    16. Rime, Dagfinn & Sarno, Lucio & Sojli, Elvira, 2010. "Exchange rate forecasting, order flow and macroeconomic information," Journal of International Economics, Elsevier, vol. 80(1), pages 72-88, January.
    17. Cerrato, Mario & Sarantis, Nicholas & Saunders, Alex, 2011. "An investigation of customer order flow in the foreign exchange market," Journal of Banking & Finance, Elsevier, vol. 35(8), pages 1892-1906, August.
    18. Ranaldo, Angelo & de Magistris, Paolo Santucci, 2022. "Liquidity in the global currency market," Journal of Financial Economics, Elsevier, vol. 146(3), pages 859-883.
    19. King, Michael R. & Osler, Carol L. & Rime, Dagfinn, 2013. "The market microstructure approach to foreign exchange: Looking back and looking forward," Journal of International Money and Finance, Elsevier, vol. 38(C), pages 95-119.
    20. Madhavan, Ananth, 2000. "Market microstructure: A survey," Journal of Financial Markets, Elsevier, vol. 3(3), pages 205-258, August.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:finlet:v:47:y:2022:i:pa:s1544612321004827. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/frl .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.