internal void HandleExecutedTransaction(Account account, BOTransaction tran) { try { var order = (Order)tran.FirstOrder; if (order.CanBeClosed()) { lock (this._mutex) { var boOrder = (BO.Order)order; boOrder.CalculateNextHitTime(); this._waitingForCloseOrders.Add(boOrder); this.StartHitTimer(); } } } catch (Exception ex) { Logger.Error(ex); } }
internal BOPreCheckVerifier(BOTransaction tran) : base(tran) { }