Too Long; Didn't Read
This article derives a mathematical equation to achieve the Target Allocation Ratio (TAR) for different instruments in your portfolio by minimizing Mean Squared Error between actual and target allocation ratios. Article shared a GitHub project that uses scipy optimizer to minimize the equation and print how much to invest in each instrument to achieve respective TAR. There are no stock recommendations here or no recommended way of earning money on the Stock Exchange.