public static ValueTask <IDisposableAlpacaDataSubscription <IBar> > SubscribeMinuteBarAsync( this IAlpacaDataStreamingClient client, params String[] symbols) => DisposableAlpacaDataSubscription <IBar> .CreateAsync( client.EnsureNotNull(nameof(client)).GetMinuteBarSubscription(symbols), client);
public static ValueTask <IDisposableAlpacaDataSubscription <IBar> > SubscribeDailyBarAsync( this IAlpacaDataStreamingClient client, IEnumerable <String> symbols) => DisposableAlpacaDataSubscription <IBar> .CreateAsync( client.EnsureNotNull(nameof(client)).GetDailyBarSubscription(symbols), client);
public static ValueTask <IDisposableAlpacaDataSubscription <IQuote> > SubscribeQuoteAsync( this IAlpacaDataStreamingClient client, String symbol) => DisposableAlpacaDataSubscription <IQuote> .CreateAsync( client.EnsureNotNull(nameof(client)).GetQuoteSubscription(symbol), client);
public static ValueTask <IDisposableAlpacaDataSubscription <IBar> > SubscribeUpdatedBarAsync( this IAlpacaCryptoStreamingClient client, String symbol) => DisposableAlpacaDataSubscription <IBar> .CreateAsync( client.EnsureNotNull(nameof(client)).GetUpdatedBarSubscription(symbol), client);
public static ValueTask <IDisposableAlpacaDataSubscription <ITrade> > SubscribeTradeAsync( this IAlpacaCryptoStreamingClient client, IEnumerable <String> symbols) => DisposableAlpacaDataSubscription <ITrade> .CreateAsync( client.EnsureNotNull(nameof(client)).GetTradeSubscription(symbols), client);
public static ValueTask <IDisposableAlpacaDataSubscription <INewsArticle> > SubscribeNewsAsync( this IAlpacaNewsStreamingClient client, IEnumerable <String> symbols) => DisposableAlpacaDataSubscription <INewsArticle> .CreateAsync( client.EnsureNotNull(nameof(client)).GetNewsSubscription(symbols), client);
public static ValueTask <IDisposableAlpacaDataSubscription <IOrderBook> > SubscribeOrderBookAsync( this IAlpacaCryptoStreamingClient client, params String[] symbols) => DisposableAlpacaDataSubscription <IOrderBook> .CreateAsync( client.EnsureNotNull(nameof(client)).GetOrderBookSubscription(symbols), client);