Show / Hide Table of Contents

Interface IAlpacaNewsStreamingClient

Provides unified type-safe access for Alpaca data streaming API via websockets.

Inherited Members
IStreamingClient.Connected
IStreamingClient.SocketOpened
IStreamingClient.SocketClosed
IStreamingClient.OnError
IStreamingClient.OnWarning
IStreamingClient.ConnectAsync(CancellationToken)
IStreamingClient.ConnectAndAuthenticateAsync(CancellationToken)
IStreamingClient.DisconnectAsync(CancellationToken)
ISubscriptionHandler.SubscribeAsync(IAlpacaDataSubscription)
ISubscriptionHandler.SubscribeAsync(IAlpacaDataSubscription, CancellationToken)
ISubscriptionHandler.SubscribeAsync(IEnumerable<IAlpacaDataSubscription>)
ISubscriptionHandler.SubscribeAsync(IEnumerable<IAlpacaDataSubscription>, CancellationToken)
ISubscriptionHandler.UnsubscribeAsync(IAlpacaDataSubscription)
ISubscriptionHandler.UnsubscribeAsync(IAlpacaDataSubscription, CancellationToken)
ISubscriptionHandler.UnsubscribeAsync(IEnumerable<IAlpacaDataSubscription>)
ISubscriptionHandler.UnsubscribeAsync(IEnumerable<IAlpacaDataSubscription>, CancellationToken)
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public interface IAlpacaNewsStreamingClient : IStreamingClient, ISubscriptionHandler

Methods

| Improve this Doc View Source

GetNewsSubscription()

Gets the news articles' updates subscription for all stock and crypto assets.

Declaration
IAlpacaDataSubscription<INewsArticle> GetNewsSubscription()
Returns
Type Description
IAlpacaDataSubscription<INewsArticle>

Subscription object for tracking updates via the Received event.

| Improve this Doc View Source

GetNewsSubscription(String)

Gets the news articles' updates subscription for the symbol asset.

Declaration
IAlpacaDataSubscription<INewsArticle> GetNewsSubscription(String symbol)
Parameters
Type Name Description
String symbol

Alpaca asset symbol.

Returns
Type Description
IAlpacaDataSubscription<INewsArticle>

Subscription object for tracking updates via the Received event.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX