use DataTable to compare the stock position