private static void InternalDoOpen()
        {
            StockOpenCloseProcess.DoOpen();
            FutureOpenCloseProcess.DoOpen();

            DoCacheOrder();
        }
예제 #2
0
 protected override void GlobalProcess(ScheduleEventArgs args)
 {
     if (args.TimeType != Entity.Contants.Types.TradingTimeType.MatchEndWork)
     {
         return;
     }
     //update 李健华 2009-12-15=====因为有关内存表的数据,所以在这里盘后清算时不作多线程操作
     //Thread futureCloseThread = new Thread(FutureOpenCloseProcess.DoClose);
     //futureCloseThread.Start();
     FutureOpenCloseProcess.DoClose();
     //=========
 }
예제 #3
0
        protected override void GlobalProcess(ScheduleEventArgs args)
        {
            if (args.TimeType != Entity.Contants.Types.TradingTimeType.MacthBeginWork)
            {
                return;
            }

            try
            {
                FutureOpenCloseProcess.DoOpen();
            }
            catch (Exception ex)
            {
                LogHelper.WriteError("期货开市处理异常", ex);
            }
        }
 private static void InternalDoClose()
 {
     StockOpenCloseProcess.DoClose();
     FutureOpenCloseProcess.DoClose();
 }