IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0308488.html
   My bibliography  Save this article

Period-aggregated transformer for learning latent seasonalities in long-horizon financial time series

Author

Listed:
  • Zhenyang Tang
  • Jinshui Huang
  • Denisa Rinprasertmeechai

Abstract

Fluctuations in the financial market are influenced by various driving forces and numerous factors. Traditional financial research aims to identify the factors influencing stock prices, and existing works construct a common neural network learning framework that learns temporal dependency using a fixed time window of historical information, such as RNN and LSTM models. However, these models only consider the short-term and point-to-point relationships within stock series. The financial market is a complex and dynamic system with many unobservable temporal patterns. Therefore, we propose an adaptive period-aggregation model called the Latent Period-Aggregated Stock Transformer (LPAST). The model integrates a variational autoencoder (VAE) with a period-to-period attention mechanism for multistep prediction in the financial time series. Additionally, we introduce a self-correlation learning method and routing mechanism to handle complex multi-period aggregations and information distribution. Main contributions include proposing a novel period-aggregation representation scheme, introducing a new attention mechanism, and validating the model’s superiority in long-horizon prediction tasks. The LPAST model demonstrates its potential and effectiveness in financial market prediction, highlighting its relevance in financial research and predictive analytics.

Suggested Citation

  • Zhenyang Tang & Jinshui Huang & Denisa Rinprasertmeechai, 2024. "Period-aggregated transformer for learning latent seasonalities in long-horizon financial time series," PLOS ONE, Public Library of Science, vol. 19(8), pages 1-22, August.
  • Handle: RePEc:plo:pone00:0308488
    DOI: 10.1371/journal.pone.0308488
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0308488
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0308488&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0308488?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
    ---><---

    References listed on IDEAS

    as
    1. Yamaguchi, Keiko, 2008. "Reexamination of stock price reaction to environmental performance: A GARCH application," Ecological Economics, Elsevier, vol. 68(1-2), pages 345-352, December.
    2. John H. Cochrane, 2011. "Presidential Address: Discount Rates," Journal of Finance, American Finance Association, vol. 66(4), pages 1047-1108, August.
    3. Rozeff, Michael S. & Kinney, William Jr., 1976. "Capital market seasonality: The case of stock returns," Journal of Financial Economics, Elsevier, vol. 3(4), pages 379-402, October.
    4. Mustafa Gultekin & Bulent Gultekin, "undated". "Stock Market Seasonality: Internal Evidence," Rodney L. White Center for Financial Research Working Papers 17-83, Wharton School Rodney L. White Center for Financial Research.
    5. Fuli Feng & Huimin Chen & Xiangnan He & Ji Ding & Maosong Sun & Tat-Seng Chua, 2018. "Enhancing Stock Movement Prediction with Adversarial Training," Papers 1810.09936, arXiv.org, revised Jun 2019.
    6. Mark J. Kamstra & Lisa A. Kramer & Maurice D. Levi, 2003. "Winter Blues: A SAD Stock Market Cycle," American Economic Review, American Economic Association, vol. 93(1), pages 324-343, March.
    7. Gultekin, Mustafa N. & Gultekin, N. Bulent, 1983. "Stock market seasonality : International Evidence," Journal of Financial Economics, Elsevier, vol. 12(4), pages 469-481, December.
    8. Massoud Metghalchi & Juri Marcucci & Yung-Ho Chang, 2012. "Are moving average trading rules profitable? Evidence from the European stock markets," Applied Economics, Taylor & Francis Journals, vol. 44(12), pages 1539-1559, April.
    9. Fama, Eugene F. & French, Kenneth R., 1993. "Common risk factors in the returns on stocks and bonds," Journal of Financial Economics, Elsevier, vol. 33(1), pages 3-56, February.
    10. Brooks, Robert D. & Faff, Robert W. & McKenzie, Michael D. & Mitchell, Heather, 2000. "A multi-country study of power ARCH models and national stock market returns," Journal of International Money and Finance, Elsevier, vol. 19(3), pages 377-397, June.
    11. Jegadeesh, Narasimhan & Titman, Sheridan, 1993. "Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency," Journal of Finance, American Finance Association, vol. 48(1), pages 65-91, March.
    Full references (including those not matched with items on IDEAS)

    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. Song, Jian & Balvers, Ronald J., 2022. "Seasonality and momentum across national equity markets," The North American Journal of Economics and Finance, Elsevier, vol. 61(C).
    2. Beladi, Hamid & Chao, Chi Chur & Hu, May, 2016. "Another January effect—Evidence from stock split announcements," International Review of Financial Analysis, Elsevier, vol. 44(C), pages 123-138.
    3. Li, Fengyun & Zhang, Huacheng & Zheng, Dazhi, 2018. "Seasonality in the cross section of stock returns: Advanced markets versus emerging markets," Journal of Empirical Finance, Elsevier, vol. 49(C), pages 263-281.
    4. Itzhak Venezia, 2018. "Lecture Notes in Behavioral Finance," World Scientific Books, World Scientific Publishing Co. Pte. Ltd., number 10751, April.
    5. Adam Zaremba & Jacob Koby Shemer, 2018. "Price-Based Investment Strategies," Springer Books, Springer, number 978-3-319-91530-2, March.
    6. Abdul Rashid & Saba Kausar, 2019. "Testing the Monthly Calendar Anomaly of Stock Returns in Pakistan: A Stochastic Dominance Approach," The Pakistan Development Review, Pakistan Institute of Development Economics, vol. 58(1), pages 83-104.
    7. Paul Handro & Bogdan Dima, 2024. "Analyzing Financial Markets Efficiency: Insights from a Bibliometric and Content Review," Journal of Financial Studies, Institute of Financial Studies, vol. 16(9), pages 119-175, May.
    8. Michael E. Drew & Mirela Mallin & Tony Naughton & Madhu Veeraraghavan, 2004. "Equity Premium: - Does it exist? Evidence from Germany and United Kingdom," School of Economics and Finance Discussion Papers and Working Papers Series 170, School of Economics and Finance, Queensland University of Technology.
    9. Yihao Zhang & Yu Jiang & Yongji Guo, 2017. "The effects of haze pollution on stock performances: evidence from China," Applied Economics, Taylor & Francis Journals, vol. 49(23), pages 2226-2237, May.
    10. James S. Doran & Danling Jiang & David R. Peterson, 2011. "Gambling Preference and the New Year Effect of Assets with Lottery Features," Review of Finance, European Finance Association, vol. 16(3), pages 685-731.
    11. Stefanescu, Răzvan & Dumitriu, Ramona, 2020. "Introducere în analiza anomaliilor calendaristice, Partea a doua [An Introduction to the Analysis of the Calendar Anomalies, Part 2]," MPRA Paper 97961, University Library of Munich, Germany.
    12. Committee, Nobel Prize, 2013. "Understanding Asset Prices," Nobel Prize in Economics documents 2013-1, Nobel Prize Committee.
    13. Stefanescu, Răzvan & Dumitriu, Ramona, 2016. "The impact of the Great Lent and of the Nativity Fast on the Bucharest Stock Exchange," MPRA Paper 89023, University Library of Munich, Germany, revised 22 Dec 2016.
    14. Shi, Huai-Long & Zhou, Wei-Xing, 2022. "Factor volatility spillover and its implications on factor premia," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 80(C).
    15. Cameron Truong, 2013. "The January effect, does options trading matter?," Australian Journal of Management, Australian School of Business, vol. 38(1), pages 31-48, April.
    16. Andrew Coutts & Christos Kaplanidis & Jennifer Roberts, 2000. "Security price anomalies in an emerging market: the case of the Athens Stock Exchange," Applied Financial Economics, Taylor & Francis Journals, vol. 10(5), pages 561-571.
    17. Stilianos Fountas & Konstantinos Segredakis, 2002. "Emerging stock markets return seasonalities: the January effect and the tax-loss selling hypothesis," Applied Financial Economics, Taylor & Francis Journals, vol. 12(4), pages 291-299.
    18. Khushboo Aggarwal & Mithilesh Kumar Jha, 2023. "Stock returns seasonality in emerging asian markets," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 30(1), pages 109-130, March.
    19. Lee, King Fuei, 2021. "An Anomaly within an Anomaly: The Halloween Effect in the Long-term Reversal Anomaly," MPRA Paper 110859, University Library of Munich, Germany.
    20. Kentaro Imajo & Kentaro Minami & Katsuya Ito & Kei Nakagawa, 2020. "Deep Portfolio Optimization via Distributional Prediction of Residual Factors," Papers 2012.07245, arXiv.org.

    More about this item

    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:plo:pone00:0308488. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.