Interface IAlpacaDataSubscription
Encapsulates generic Alpaca Data streaming API subscription item.
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public interface IAlpacaDataSubscription
Properties
| Improve this Doc View SourceStreams
Gets the stream names - updates type (channel name) and asset name (symbol) list.
Declaration
IEnumerable<String> Streams { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Subscribed
Gets boolean flag indicating the current subscription status of this item. An unsubscribed subscription does not receive streaming data.
Declaration
Boolean Subscribed { get; }
Property Value
Type | Description |
---|---|
Boolean |
Events
| Improve this Doc View SourceOnSubscribedChanged
Occurs when a Subscribed property value has changed.
Declaration
event Action? OnSubscribedChanged
Event Type
Type | Description |
---|---|
System.Nullable<Action> |