quick calculation to see how far away the best prices are from each other
reworked api