internal void OnFill(OnFill e) { if (Strategy?.Status == StrategyStatus.Running) { Strategy.EmitFill(e); } }
internal void OnFill(Portfolio portfolio, Fill fill, bool queued) { var e = new OnFill(portfolio, fill); if (queued) { this.queue.Enqueue(e); } else { OnEvent(e); } }
internal virtual void vmethod_32(OnFill fill) { if (this.IsInstance) { this.OnFill(fill.Fill); } }
internal void OnFill(OnFill e) { if (Strategy?.Status == StrategyStatus.Running) Strategy.EmitFill(e); }
internal void OnFill(Portfolio portfolio, Fill fill, bool queued) { var e = new OnFill(portfolio, fill); if (queued) this.queue.Enqueue(e); else OnEvent(e); }