Portfolio optimization in stock investment | Synapse