internal void OnPositionClosed(Portfolio portfolio, Position position, bool queued) { var e = new OnPositionClosed(portfolio, position); if (queued) { this.queue.Enqueue(e); } else { OnEvent(e); } }
internal void OnPositionClosed(Portfolio portfolio, Position position, bool queued) { var e = new OnPositionClosed(portfolio, position); if (queued) this.queue.Enqueue(e); else OnEvent(e); }