calculate net income for each portfolio