Пример #1
0
 internal void OnBarSlice(BarSlice barSlice)
 {
     if (Strategy?.Status == StrategyStatus.Running)
     {
         Strategy.EmitBarSlice(barSlice);
     }
 }
Пример #2
0
        private void OnBarSlice(Event e)
        {
            BarSlice barSlice = (BarSlice)e;

            barSlice.DateTime = this.framework.Clock.DateTime;
            this.framework.StrategyManager.OnBarSlice(barSlice);
        }
Пример #3
0
 protected virtual void OnBarSlice(BarSlice slice)
 {
 }
Пример #4
0
 internal virtual void vmethod_17(BarSlice slice)
 {
     if (this.IsInstance)
     {
         this.OnBarSlice(slice);
     }
 }
Пример #5
0
 internal void OnBarSlice(BarSlice barSlice)
 {
     if (Strategy?.Status == StrategyStatus.Running)
         Strategy.EmitBarSlice(barSlice);
 }