A modelling framework for the prices and times made on the New York stock exchange