Stock portfolio builder software, based on constraints to generate the required quantity of the stocks