match sell records to respective buy records. gain_records ready