Add parsePrice method to tradetable.