예제 #1
0
 private bool IsEndOfWeek() {
   var isEow = ServerTime.DayOfWeek == DayOfWeek.Friday && ServerTime.ToUniversalTime().Hour > 20
     || (!TradeOnBOW && IsBeginningOfWeek());
   if(isEow)
     Log = new Exception(new { isEow } + "");
   return isEow;
 }