On the minimax complexity of pricing in a changing environment