Function for viewing portfolio