INVESTMENTS IN TIMES OF UNCERTAINTY: FORMATION OF PORTFOLIOS USING RANDOM FOREST
DOI:
https://doi.org/10.12662/2359-618xregea.v12i1.p121-137.2023Keywords:
portfolios, machine learning, random forestAbstract
Objective: based on a systematic approach using machine learning, this research aims to propose a model of selection and allocation of assets that allows for building profitable and safe portfolios, even in times of insecurity and low predictability.
Methodology: we used the machine learning algorithm called random forest to associate the independent variables with a dependent one and learn the probability of positive returns in the month following the data collection. According to the probabilities, the stocks were allocated into long, short, or non-allocated portfolios. Finally, we allocated a share of gold, which is a protection asset much used in times of crisis and uncertainty.
Results and contributions: the study reached its goal and demonstrated being possible to build profitable and safe investment portfolios, even in times of greater uncertainty and volatility, as in 2020 due to the Covid-19 pandemic. We found that the model is effective in moments of crisis and also of greater predictability, as in the period from 2016 to 2019 when the stock exchange has an uptrend.
Relevance: the relevance of this study points to an unprecedented historical context in Brazil, where uncertainties regarding both the local and world economy have demanded advanced studies of prediction to minimize risks and contribute to results for investors. In addition, we highlight that following a short period of low Selic (2019 to 2021), the Central Bank increased the rate again, raising the interest more in profitable and safer assets than the investment in stocks.
Impact on the area: the study has a positive impact on the finance area since studies in this field promote greater stability to investors and thus better capital flow for companies, which, in turn, contribute to society and the growth of the country.
Downloads
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2023 Journal Of Management Analysis

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
COPYRIGHT ASSIGNMENT AGREEMENT
By this private instrument, on the one hand, the CHRISTUS UNIVERSITY CENTER – UNICHRISTUS, hereinafter referred to only as UNICHRISTUS, and, on the other hand,
1) Name_____________________________ , ID._____________________________ ,
2) Name_____________________________ , ID._____________________________ ,
3) Name_____________________________ , ID._____________________________ ,
4) Name_____________________________ , ID._____________________________ ,
5) Name_____________________________ , ID._____________________________,
hereinafter referred to only as AUTHOR(S) of the WORK characterized as an academic article, entitled, have agreed between themselves, in the best form of law, as follows:
By submitting an article to the Revista Gestão em Análise - ReGeA, the authors retain the copyright of their work and agree to license their work under a Creative Commons license. Attribution-NonCommercial-ShareAlike 4.0 International License (CC-BY-NC-SA). The CC-BY-NC-SA license allows others to use the work non-commercially, provided they credit the authors. This includes the possibility of remixing, adapting, and creating new works from the original.
The authors grant ReGeA the right of first publication, recognizing it as the original publisher of the work, as this is important for the integrity of the publication and for identifying the initial source. And they grant the journal a non-exclusive license to use the work in the following ways: (1) to make the WORK available in whole or in part for educational purposes, provided that its textual content is not altered, except for corrections and formatting that may be necessary. (2) to disseminate parts and/or the complete work in order to promote the journal through the internet and other digital and print media; (3) to record and reproduce the work in any format, including digital media.
With this license, authors can enter into separate, additional contracts for the non-exclusive distribution of the version of the work published in this journal (for example, publishing in institutional repositories or as book chapters), with due acknowledgment of authorship and initial publication in ReGeA. Authors are encouraged to publish and share their work online after publication in the journal, as this can increase the visibility and impact of the work.
Authors are responsible for the content of their articles when publishing in ReGeA. They affirm that the work is of their exclusive authorship and therefore assume full responsibility for its content, which implies that they must ensure that the work is original and does not infringe the rights of third parties. Authors retain the copyright to their work and agree to license their work using a Creative Commons International Public License, thus accepting the terms and conditions of this license.
Fortaleza, Ceará, ______________ of _________________________ of 20______ .
1) ____________________________________________________
2) ____________________________________________________
3) ____________________________________________________
4) ____________________________________________________
5) ____________________________________________________
By the Christus University Center – UNICHRISTUS:
______________________________________________________
















