finished XTS detect of max of min for time period