pq_portfolio function

calculating returns/equity of portfolio