Interface IAlpacaDataStreamingClient
Provides unified type-safe access for Alpaca data streaming API via websockets.
Inherited Members
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public interface IAlpacaDataStreamingClient : IStreamingDataClient, IStreamingClient, ISubscriptionHandler
Methods
| Improve this Doc View SourceGetCancellationSubscription(String)
Gets the trade cancellations subscription for the symbol
asset.
Declaration
IAlpacaDataSubscription<ITrade> GetCancellationSubscription(String symbol)
Parameters
Type | Name | Description |
---|---|---|
String | symbol | Alpaca asset symbol. |
Returns
Type | Description |
---|---|
IAlpacaDataSubscription<ITrade> | Subscription object for tracking updates via the Received event. |
GetCorrectionSubscription(String)
Gets the trade corrections subscription for the symbol
asset.
Declaration
IAlpacaDataSubscription<ICorrection> GetCorrectionSubscription(String symbol)
Parameters
Type | Name | Description |
---|---|---|
String | symbol | Alpaca asset symbol. |
Returns
Type | Description |
---|---|
IAlpacaDataSubscription<ICorrection> | Subscription object for tracking updates via the Received event. |
GetLimitUpLimitDownSubscription(String)
Gets the LULD (limit up / limit down) subscription for the symbol
asset.
Declaration
IAlpacaDataSubscription<ILimitUpLimitDown> GetLimitUpLimitDownSubscription(String symbol)
Parameters
Type | Name | Description |
---|---|---|
String | symbol | Alpaca asset symbol. |
Returns
Type | Description |
---|---|
IAlpacaDataSubscription<ILimitUpLimitDown> | Subscription object for tracking updates via the Received event. |
GetStatusSubscription(String)
Gets the trading statuses subscription for the symbol
asset.
Declaration
IAlpacaDataSubscription<IStatus> GetStatusSubscription(String symbol)
Parameters
Type | Name | Description |
---|---|---|
String | symbol | Alpaca asset symbol. |
Returns
Type | Description |
---|---|
IAlpacaDataSubscription<IStatus> | Subscription object for tracking updates via the Received event. |