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