Can you give me a link to this example you  gave?  I want to look into it more.

We will consider all the sales data we have when calculating the prices.  Newer sales are weighted more than older sales, but the exact weights and final price depend on how old all of the sales are and how many sales there are too.