Create features with rates in previous days