book interface, compute price