Text this: Optimization of investment portfolio management