public void ReadFile() { TickIO tickIO = Factory.TickUtil.TickIO(); try { while (reader.TryReadTick(tickIO)) { if (tickIO.UtcTime > endTime) { break; } if (tickIO.UtcTime > startTime) { Output(tickIO.ToString()); } } } catch (QueueException ex) { if (ex.EntryType != EventType.EndHistorical) { throw; } } }