예제 #1
0
        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;
                }
            }
        }