Filter by time.

Need to refactor trade analyser to alwasy take data imput