Added functionality for portfolio (sell, purchase)