private void SyncExchangeClockWithTick(Tick tick, string funcName) { if (tick.ExchangeDateTime > this.framework.ExchangeClock.DateTime) { this.framework.ExchangeClock.DateTime = tick.ExchangeDateTime; } else if (tick.ExchangeDateTime > this.framework.ExchangeClock.DateTime) { Console.WriteLine($"{nameof(EventManager)}::{funcName} Exchange datetime is out of synch : {tick.GetType().Name.ToLower()} datetime = {tick.ExchangeDateTime} clock datetime = {this.framework.ExchangeClock.DateTime}"); } }