IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2212.03443.html
   My bibliography  Save this paper

Bi-LSTM Price Prediction based on Attention Mechanism

Author

Listed:
  • Jiashu Lou
  • Leyi Cui
  • Ye Li

Abstract

With the increasing enrichment and development of the financial derivatives market, the frequency of transactions is also faster and faster. Due to human limitations, algorithms and automatic trading have recently become the focus of discussion. In this paper, we propose a bidirectional LSTM neural network based on an attention mechanism, which is based on two popular assets, gold and bitcoin. In terms of Feature Engineering, on the one hand, we add traditional technical factors, and at the same time, we combine time series models to develop factors. In the selection of model parameters, we finally chose a two-layer deep learning network. According to AUC measurement, the accuracy of bitcoin and gold is 71.94% and 73.03% respectively. Using the forecast results, we achieved a return of 1089.34% in two years. At the same time, we also compare the attention Bi-LSTM model proposed in this paper with the traditional model, and the results show that our model has the best performance in this data set. Finally, we discuss the significance of the model and the experimental results, as well as the possible improvement direction in the future.

Suggested Citation

  • Jiashu Lou & Leyi Cui & Ye Li, 2022. "Bi-LSTM Price Prediction based on Attention Mechanism," Papers 2212.03443, arXiv.org, revised Jun 2023.
  • Handle: RePEc:arx:papers:2212.03443
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2212.03443
    File Function: Latest version
    Download Restriction: no
    ---><---

    Citations

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


    Cited by:

    1. Jakub Waikat & Amel Jelidi & Sandro Lic & Georgios Sopidis & Olaf Kähler & Anna Maly & Jesús Pestana & Ferdinand Fuhrmann & Fredi Belavić, 2024. "First Measurement Campaign by a Multi-Sensor Robot for the Lifecycle Monitoring of Transformers," Energies, MDPI, vol. 17(5), pages 1-26, February.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    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:arx:papers:2212.03443. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.