private static void InternalDoOpen() { StockOpenCloseProcess.DoOpen(); FutureOpenCloseProcess.DoOpen(); DoCacheOrder(); }
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(); //========= }
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(); }