I'd look at using this for generating your timeseries https://github.com/clj-time/clj-time#clj-timeperiodic