public TickerReference(Guid id, TickerSymbol symbol, FeedInterval interval, Type priceFeedType, int priceFeedOption) { _id = id; _priceFeedType = priceFeedType; _priceFeedOption = priceFeedOption; Symbol = symbol; Interval = interval; }
public TickerReference Setup(TickerSymbol tickerSymbol, FeedInterval interval, HeikenAshiPriceOption ohlcPriceOption) { if (ohlcPriceOption == HeikenAshiPriceOption.All) { Registry.ItemSetup(tickerSymbol.Id, interval.UnitId); } else { Registry.OptionSetup(tickerSymbol.Id, interval.UnitId); } var tickerReference = new TickerReference(Guid.NewGuid(), tickerSymbol, interval, typeof(HeikenAshiPriceOption), (int)ohlcPriceOption); Aggregator.Setup(tickerReference); return(tickerReference); }
public TickerReference Setup(TickerSymbol tickerSymbol, FeedInterval interval, RenkoPriceOption priceBarOption) { return(Renko.Setup(tickerSymbol, interval, priceBarOption)); }
public TickerReference Setup(TickerSymbol tickerSymbol, FeedInterval interval, HeikenAshiPriceOption heikenAshiPriceOption) { return(HeikenAshi.Setup(tickerSymbol, interval, heikenAshiPriceOption)); }
public TickerReference Setup(TickerSymbol tickerSymbol, FeedInterval interval, CandlestickPriceOption candlestickPriceOption) { return(Candlesticks.Setup(tickerSymbol, interval, candlestickPriceOption)); }
public TickerReference Setup(TickerSymbol tickerSymbol, FeedInterval interval, OHLCPriceOption ohlcPriceOption) { return(OHLC.Setup(tickerSymbol, interval, ohlcPriceOption)); }