Class PortfolioMessage
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
The message contains information about portfolio.
[DataContract]
public class PortfolioMessage : BaseSubscriptionIdMessage<PortfolioMessage>, ISubscriptionIdMessage, ISubscriptionMessage, ITransactionIdMessage, IOriginalTransactionIdMessage, IMessage, ILocalTimeMessage, ICloneable, IPortfolioNameMessage
- Inheritance
-
PortfolioMessage
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
PortfolioMessage()
Initializes a new instance of the PortfolioMessage.
public PortfolioMessage()
PortfolioMessage(MessageTypes)
Initialize PortfolioMessage.
protected PortfolioMessage(MessageTypes type)
Parameters
type
MessageTypesMessage type.
Properties
BoardCode
Electronic board code.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Board", Description = "BoardCode", GroupName = "General")]
public string BoardCode { get; set; }
Property Value
ClientCode
Client code assigned by the broker.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "ClientCode", Description = "ClientCodeDesc", GroupName = "General")]
public string ClientCode { get; set; }
Property Value
Count
Max count.
[DataMember]
public long? Count { get; set; }
Property Value
- long?
Currency
Portfolio currency.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Currency", Description = "PortfolioCurrency", GroupName = "General")]
public CurrencyTypes? Currency { get; set; }
Property Value
- CurrencyTypes?
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
PortfolioName
Portfolio code name.
[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Name", Description = "PortfolioName", GroupName = "General")]
public string PortfolioName { get; set; }
Property Value
Skip
Skip count.
[DataMember]
public long? Skip { get; set; }
Property Value
- long?
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
CopyTo(PortfolioMessage)
Copy the message into the destination
.
public override void CopyTo(PortfolioMessage destination)
Parameters
destination
PortfolioMessageThe object, to which copied information.
ToString()
public override string ToString()