Made corrections to get the trade_record.