Pricing Algorithm