changed primary key of new_data to use symbol and timestamp