internal void OnBarSlice(BarSlice barSlice) { if (Strategy?.Status == StrategyStatus.Running) { Strategy.EmitBarSlice(barSlice); } }
private void OnBarSlice(Event e) { BarSlice barSlice = (BarSlice)e; barSlice.DateTime = this.framework.Clock.DateTime; this.framework.StrategyManager.OnBarSlice(barSlice); }
protected virtual void OnBarSlice(BarSlice slice) { }
internal virtual void vmethod_17(BarSlice slice) { if (this.IsInstance) { this.OnBarSlice(slice); } }
internal void OnBarSlice(BarSlice barSlice) { if (Strategy?.Status == StrategyStatus.Running) Strategy.EmitBarSlice(barSlice); }