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