Class SubscriptionBase<TSubscription>
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
Subscription.
public abstract class SubscriptionBase<TSubscription> : Cloneable<TSubscription>, ICloneable<TSubscription>, ISubscriptionMessage, ITransactionIdMessage, IOriginalTransactionIdMessage, IMessage, ILocalTimeMessage, ICloneable where TSubscription : SubscriptionBase<TSubscription>
Type Parameters
TSubscription
- Inheritance
-
Cloneable<TSubscription>SubscriptionBase<TSubscription>
- Implements
-
ICloneable<TSubscription>
- Derived
- Inherited Members
- Extension Methods
Constructors
SubscriptionBase(ISubscriptionMessage, SecurityMessage)
Initializes a new instance of the SubscriptionBase<TSubscription>.
protected SubscriptionBase(ISubscriptionMessage subscriptionMessage, SecurityMessage security)
Parameters
subscriptionMessage
ISubscriptionMessageSubscription message.
security
SecurityMessageSecurity.
Properties
Count
Max count.
public long? Count { get; set; }
Property Value
- long?
DataType
Data type info.
public DataType DataType { get; }
Property Value
FillGaps
public FillGapsDays? FillGaps { get; set; }
Property Value
FilterEnabled
Message contains fields with non default values.
public bool FilterEnabled { get; }
Property Value
From
Start date, from which data needs to be retrieved.
public DateTimeOffset? From { get; set; }
Property Value
IsSubscribe
The message is subscription.
public bool IsSubscribe { get; set; }
Property Value
MarketData
public MarketDataMessage MarketData { get; }
Property Value
OrderStatus
public OrderStatusMessage OrderStatus { get; }
Property Value
OriginalTransactionId
ID of the original message TransactionId for which this message is a response.
public long OriginalTransactionId { get; set; }
Property Value
PortfolioLookup
public PortfolioLookupMessage PortfolioLookup { get; }
Property Value
SecurityId
Security ID.
public SecurityId? SecurityId { get; }
Property Value
SecurityLookup
public SecurityLookupMessage SecurityLookup { get; }
Property Value
Skip
Skip count.
public long? Skip { get; set; }
Property Value
- long?
State
State.
public SubscriptionStates State { get; set; }
Property Value
SubscriptionMessage
Subscription message.
public ISubscriptionMessage SubscriptionMessage { get; }
Property Value
To
End date, until which data needs to be retrieved.
public DateTimeOffset? To { get; set; }
Property Value
TransactionId
Request identifier.
public long TransactionId { get; set; }
Property Value
Methods
ToString()
public override string ToString()