IDEAS home Printed from https://ideas.repec.org/p/pra/mprapa/48204.html
   My bibliography  Save this paper

Algorithm of construction of Optimum Portfolio of stocks using Genetic Algorithm

Author

Listed:
  • Sinha, Pankaj
  • Chandwani, Abhishek
  • Sinha, Tanmay

Abstract

The objective of this paper is to develop an algorithm to create an Optimum Portfolio from a large pool of stocks listed in a single market index SPX 500 Index: USA (for example) using Genetic Algorithm. The algorithm selects stocks on the basis of a priority index function designed on company fundamentals, and then genetically assigns optimum weights to the selected stocks by finding a genetically suitable combination of return and risk on the basis of historical data. The effect of genetic evolution on portfolio optimization has been demonstrated by developing a MATLAB code to implement the genetic application of reproduction, crossover and mutation operators. The effectiveness of the obtained portfolio has been successfully tested by running its performance over a six month holding period. It is found that genetic algorithm is successful in providing the optimum weights to stocks which were initially screened through a predetermined priority index function. The constructed portfolio beats the market for the considered holding period by a significant margin.

Suggested Citation

  • Sinha, Pankaj & Chandwani, Abhishek & Sinha, Tanmay, 2013. "Algorithm of construction of Optimum Portfolio of stocks using Genetic Algorithm," MPRA Paper 48204, University Library of Munich, Germany.
  • Handle: RePEc:pra:mprapa:48204
    as

    Download full text from publisher

    File URL: https://mpra.ub.uni-muenchen.de/48204/1/MPRA_paper_48204.pdf
    File Function: original version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Slimane Sefiane & Mohamed Benbouziane, 2012. "Portfolio Selection Using Genetic Algorithm," Journal of Applied Finance & Banking, SCIENPRESS Ltd, vol. 2(4), pages 1-9.
    2. Sinha, Pankaj & Goyal, Lavleen, 2012. "Algorithm for construction of portfolio of stocks using Treynor’s ratio," MPRA Paper 40134, University Library of Munich, Germany.
    3. Robert Pereira, 2000. "Genetic Algorithm Optimisation for Finance and Investment," Working Papers 2000.02, School of Economics, La Trobe University.
    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. Imen Bedoui-Belghith & Slaheddine Hallara & Faouzi Jilani, 2023. "Crisis transmission degree measurement under crisis propagation model," SN Business & Economics, Springer, vol. 3(1), pages 1-27, January.
    2. Massimiliano Kaucic & Filippo Piccotto & Gabriele Sbaiz & Giorgio Valentinuz, 2023. "Optimal Portfolio with Sustainable Attitudes under Cumulative Prospect Theory," Journal of Applied Finance & Banking, SCIENPRESS Ltd, vol. 13(4), pages 1-4.
    3. Slimane Sefiane & Mohamed Benbouziane, 2012. "Portfolio Selection Using Genetic Algorithm," Journal of Applied Finance & Banking, SCIENPRESS Ltd, vol. 2(4), pages 1-9.
    4. Zezheng Zhang & Matloob Khushi, 2020. "GA-MSSR: Genetic Algorithm Maximizing Sharpe and Sterling Ratio Method for RoboTrading," Papers 2008.09471, arXiv.org.
    5. Chmielewska Aneta & Adamiczka Jerzy & Romanowski Michał, 2020. "Genetic Algorithm as Automated Valuation Model Component in Real Estate Investment Decisions System," Real Estate Management and Valuation, Sciendo, vol. 28(4), pages 1-14, December.
    6. Dubinskas Petras & Urbšienė Laimutė, 2017. "Investment Portfolio Optimization by Applying a Genetic Algorithm-Based Approach," Ekonomika (Economics), Sciendo, vol. 96(2), pages 66-78, February.
    7. Marek Walacik & Aneta Chmielewska, 2024. "Real Estate Industry Sustainable Solution (Environmental, Social, and Governance) Significance Assessment—AI-Powered Algorithm Implementation," Sustainability, MDPI, vol. 16(3), pages 1-20, January.

    More about this item

    Keywords

    Optimum Portfolio; Genetic Algorithm; Portfolio Construction; MATLAB;
    All these keywords.

    JEL classification:

    • C6 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling
    • C61 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Optimization Techniques; Programming Models; Dynamic Analysis
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • G11 - Financial Economics - - General Financial Markets - - - Portfolio Choice; Investment Decisions

    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:pra:mprapa:48204. 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: Joachim Winter (email available below). General contact details of provider: https://edirc.repec.org/data/vfmunde.html .

    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.