{'fraction_non_alphanumeric': 0.011111111111111112, 'fraction_numerical': 0.0024691358024691358, 'mean_word_length': 5.286821705426356, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Risk Return Optimization Using the Knapsack Problem in The Formation of a Stocks Portfolio. Case Study of a Brazilian Investment Site.

In this work, the composition of a portfolio was proposed by using the Knapsack problem and verified its effectiveness in comparison to a portfolio of shares on an investment website. The programming variables were based on the Markowitz risk theory of variance and following collaborators for their studies. And from the chosen portfolio, the efficient frontier was elaborated analyzing the performance of the investment site portfolio during 30 days. The portfolio obtained exceeded the percentage performance obtained from the investment site in the same period when considering the maximum possible return, the minimum global variance and also in the naive distribution.