Added ordering, unique constraint to stock and catch exception on stock quote reader