Interface IAlpacaNewsStreamingClient
Provides unified type-safe access for Alpaca data streaming API via websockets.
Inherited Members
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public interface IAlpacaNewsStreamingClient : IStreamingClient, ISubscriptionHandler
Methods
| Improve this Doc View SourceGetNewsSubscription()
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. |
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. |