Compute the profitability for trading company