Class PortfolioLookupMessage
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
Message portfolio lookup for specified criteria.
[DataContract]
public class PortfolioLookupMessage : PortfolioMessage, ICloneable<Message>, ISubscriptionIdMessage, IPortfolioNameMessage, INullableSecurityIdMessage, IStrategyIdMessage, ISubscriptionMessage, ITransactionIdMessage, IOriginalTransactionIdMessage, IMessage, ILocalTimeMessage, ICloneable
- Inheritance
-
PortfolioLookupMessage
- Implements
- Inherited Members
- Extension Methods
Constructors
PortfolioLookupMessage()
Initializes a new instance of the PortfolioLookupMessage.
public PortfolioLookupMessage()
Properties
Count
Max count.
[DataMember]
public long? Count { get; set; }
Property Value
- long?
DataType
Data type info.
public override DataType DataType { get; }
Property Value
FillGaps
[DataMember]
public FillGapsDays? FillGaps { get; set; }
Property Value
From
Start date, from which data needs to be retrieved.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "From", Description = "StartDateDesc", GroupName = "General")]
public DateTimeOffset? From { get; set; }
Property Value
IsSubscribe
The message is subscription.
[DataMember]
public bool IsSubscribe { get; set; }
Property Value
SecurityId
Security ID.
[TypeConverter(typeof(StringToSecurityIdTypeConverter))]
public SecurityId? SecurityId { get; set; }
Property Value
Side
Side.
[DataMember]
public Sides? Side { get; set; }
Property Value
Skip
Skip count.
[DataMember]
public long? Skip { get; set; }
Property Value
- long?
StrategyId
Strategy id.
[DataMember]
public string StrategyId { get; set; }
Property Value
To
End date, until which data needs to be retrieved.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Until", Description = "ToDateDesc", GroupName = "General")]
public DateTimeOffset? To { get; set; }
Property Value
TransactionId
Request identifier.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Transaction", Description = "TransactionId", GroupName = "General")]
public long TransactionId { get; set; }
Property Value
Methods
Clone()
Create a copy of PortfolioLookupMessage.
public override Message Clone()
Returns
- Message
Copy.
CopyTo(PortfolioLookupMessage)
Copy the message into the destination
.
protected virtual void CopyTo(PortfolioLookupMessage destination)
Parameters
destination
PortfolioLookupMessageThe object, to which copied information.
ToString()
public override string ToString()