replacing hard-coded minimum amount of days without price update with constant