sample application for evaluating stock orders in real time