add stock query handler