示例#1
0
        public override RenkoBars CreatePriceBars(TickerReference tickerReference)
        {
            var bars = new RenkoBars(PricePoolSizeConfig.GetPoolSize(typeof(RenkoBars)), 10, 1);

            _bars.Add(tickerReference.Id, bars);
            return(bars);
        }
示例#2
0
        public override OHLCBars CreatePriceBars(TickerReference tickerReference)
        {
            var bars = new OHLCBars(PricePoolSizeConfig.GetPoolSize(typeof(OHLCBars)));

            _bars.Add(tickerReference.Id, bars);
            return(bars);
        }