Pricingalgorithm