fixed portfolio table, had to use .split(','); to convert string to array
fixed performance graph, needed to only use portfolio at a given time, not the current one