public static ValueTask <IDisposableAlpacaDataSubscription <INewsArticle> > SubscribeNewsAsync( this IAlpacaNewsStreamingClient client, IEnumerable <String> symbols) => DisposableAlpacaDataSubscription <INewsArticle> .CreateAsync( client.EnsureNotNull(nameof(client)).GetNewsSubscription(symbols), client);
public static IAlpacaDataSubscription <INewsArticle> GetNewsSubscription( this IAlpacaNewsStreamingClient client, IEnumerable <String> symbols) => getNewsSubscription( client.EnsureNotNull(nameof(client)), symbols.EnsureNotNull(nameof(symbols)));