change close to acutal_close and more robust datetime parsing in get_price
don't abandon portfolio value for invalid prices