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

Portfolio Optimization with 2D Relative-Attentional Gated Transformer

Author

Listed:
  • Tae Wan Kim
  • Matloob Khushi

Abstract

Portfolio optimization is one of the most attentive fields that have been researched with machine learning approaches. Many researchers attempted to solve this problem using deep reinforcement learning due to its efficient inherence that can handle the property of financial markets. However, most of them can hardly be applicable to real-world trading since they ignore or extremely simplify the realistic constraints of transaction costs. These constraints have a significantly negative impact on portfolio profitability. In our research, a conservative level of transaction fees and slippage are considered for the realistic experiment. To enhance the performance under those constraints, we propose a novel Deterministic Policy Gradient with 2D Relative-attentional Gated Transformer (DPGRGT) model. Applying learnable relative positional embeddings for the time and assets axes, the model better understands the peculiar structure of the financial data in the portfolio optimization domain. Also, gating layers and layer reordering are employed for stable convergence of Transformers in reinforcement learning. In our experiment using U.S. stock market data of 20 years, our model outperformed baseline models and demonstrated its effectiveness.

Suggested Citation

  • Tae Wan Kim & Matloob Khushi, 2020. "Portfolio Optimization with 2D Relative-Attentional Gated Transformer," Papers 2101.03138, arXiv.org.
  • Handle: RePEc:arx:papers:2101.03138
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. William F. Sharpe, 1965. "Mutual Fund Performance," The Journal of Business, University of Chicago Press, vol. 39, pages 119-119.
    2. Farshid Abdi & Angelo Ranaldo, 2017. "A Simple Estimation of Bid-Ask Spreads from Daily Close, High, and Low Prices," The Review of Financial Studies, Society for Financial Studies, vol. 30(12), pages 4437-4480.
    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. Jaideep Singh & Matloob Khushi, 2021. "Feature Learning for Stock Price Prediction Shows a Significant Role of Analyst Rating," Papers 2103.09106, arXiv.org.
    2. Mimansa Rana & Nanxiang Mao & Ming Ao & Xiaohui Wu & Poning Liang & Matloob Khushi, 2021. "Clustering and attention model based for intelligent trading," Papers 2107.06782, arXiv.org, revised Aug 2021.
    3. Yunze Li & Yanan Xie & Chen Yu & Fangxing Yu & Bo Jiang & Matloob Khushi, 2021. "Feature importance recap and stacking models for forex price prediction," Papers 2107.14092, arXiv.org.
    4. Zexin Hu & Yiqi Zhao & Matloob Khushi, 2021. "A Survey of Forex and Stock Price Prediction Using Deep Learning," Papers 2103.09750, arXiv.org.
    5. Christopher Wimmer & Navid Rekabsaz, 2023. "Leveraging Vision-Language Models for Granular Market Change Prediction," Papers 2301.10166, arXiv.org.

    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. Klova, Valeriia & Odegaard, Bernt Arne, 2018. "Equity trading costs have fallen less than commonly thought. Evidence using alternative trading cost estimators," UiS Working Papers in Economics and Finance 2018/4, University of Stavanger, revised 2019.
    2. Gil-Bazo, Javier & Ruiz-Verdú, Pablo, 2006. "Yet another puzzle? the relation between price and performance in the mutual fund industry," DEE - Working Papers. Business Economics. WB wb066519, Universidad Carlos III de Madrid. Departamento de Economía de la Empresa.
    3. Alexandra Niessen & Stefan Ruenzi, 2010. "Political Connectedness and Firm Performance: Evidence from Germany," German Economic Review, Verein für Socialpolitik, vol. 11(4), pages 441-464, November.
    4. Aghanya, Daniel & Agarwal, Vineet & Poshakwale, Sunil, 2020. "Market in Financial Instruments Directive (MiFID), stock price informativeness and liquidity," Journal of Banking & Finance, Elsevier, vol. 113(C).
    5. Zhu, Haibin & Bai, Lu & He, Lidan & Liu, Zhi, 2023. "Forecasting realized volatility with machine learning: Panel data perspective," Journal of Empirical Finance, Elsevier, vol. 73(C), pages 251-271.
    6. Babalos, Vassilios & Caporale, Guglielmo Maria & Philippas, Nikolaos, 2012. "Efficiency evaluation of Greek equity funds," Research in International Business and Finance, Elsevier, vol. 26(2), pages 317-333.
    7. Amparo Soler Domínguez & Juan Carlos Matallín Sáez & Emili Tortosa Ausina, 2011. "On the informativeness of persistence for mutual funds' performance evaluation using partial frontiers," Working Papers. Serie EC 2011-08, Instituto Valenciano de Investigaciones Económicas, S.A. (Ivie).
    8. F. FernAndez-RodrIguez & S. Sosvilla-Rivero & J. Andrada-FElix, 2003. "Technical analysis in foreign exchange markets: evidence from the EMS," Applied Financial Economics, Taylor & Francis Journals, vol. 13(2), pages 113-122.
    9. Sharad Ranjan & Shailza Gupta, 2014. "Performance Appraisal of Mutual Funds Operating in India," Journal of Commerce and Trade, Society for Advanced Management Studies, vol. 9(2), pages 54-62, October.
    10. Broto, Carmen & Lamas, Matías, 2020. "Is market liquidity less resilient after the financial crisis? Evidence for US Treasuries," Economic Modelling, Elsevier, vol. 93(C), pages 217-229.
    11. Edgardo Cayón Fallón & Tomás Ricardo Di Santo Rojas & Camilo Roncancio Pena, 2010. "Evidence of active management of private voluntary pension funds in Colombia: a perfomance analysis using proxy ETFS," Estudios Gerenciales, Universidad Icesi, June.
    12. Bertrand Maillet & Thierry Michel, 2000. "Further insights on the puzzle of technical analysis profitability," The European Journal of Finance, Taylor & Francis Journals, vol. 6(2), pages 196-224.
    13. Breedon, Francis & Pétursson, Thórarinn G. & Vitale, Paolo, 2023. "The currency that came in from the cold: Capital controls and the information content of order flow," Journal of International Money and Finance, Elsevier, vol. 138(C).
    14. Georges Gallais-Hamonno & Huyen Nguyen-Thi-Thanh, 2007. "The necessity to correct hedge fund returns: empirical evidence and correction method," Working Papers halshs-00184470, HAL.
    15. Hagströmer, Björn, 2021. "Bias in the effective bid-ask spread," Journal of Financial Economics, Elsevier, vol. 142(1), pages 314-337.
    16. Michel Fliess & Cédric Join & Frédéric Hatt, 2011. "Is a probabilistic modeling really useful in financial engineering? [A-t-on vraiment besoin d'un modèle probabiliste en ingénierie financière ?]," Post-Print hal-00585152, HAL.
    17. Kerstens, Kristiaan & Mounir, Amine & Van de Woestyne, Ignace, 2011. "Geometric representation of the mean-variance-skewness portfolio frontier based upon the shortage function," European Journal of Operational Research, Elsevier, vol. 210(1), pages 81-94, April.
    18. Fabrice Hervé, 2003. "La persistance de la performance des fonds de pension individuels britanniques:une étude empirique sur des fonds investis en actions et des fonds obligataires," Revue Finance Contrôle Stratégie, revues.org, vol. 6(3), pages 41-77, September.
    19. Christiansen, Charlotte & Nielsen, Helena Skyt, 2002. "The Educational Asset Market: A Finance Perspective on Human Capital Investment," Working Papers 02-10, University of Aarhus, Aarhus School of Business, Department of Economics.
    20. Blake, David & Boardman, Tom, 2010. "Spend more today: Using behavioural economics to improve retirement expenditure decisions," MPRA Paper 34234, University Library of Munich, Germany.

    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:2101.03138. 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: 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.