/// <summary> /// Calculation fo data from todays 00:00:00 /// </summary> private object[] CalculateTodaysData(Trade trade) { log.Debug("Start Date:" + DateTime.Today + ", End Date=" + DateTime.Now); return(_tradeRepository.GetCustomDataBetweenDates(trade.ExecutionTime, DateTime.Today, trade.CurrencyPair) as object[]); }