Class PortfolioMessage
The message contains information about portfolio.
Inheritance
PortfolioMessage
Implements
Inherited Members
Namespace: StockSharp.Messages
Assembly: StockSharp.Messages.dll
Syntax
public class PortfolioMessage : BaseSubscriptionIdMessage<PortfolioMessage>, IExtendableEntity, ISubscriptionIdMessage, ISubscriptionMessage, ITransactionIdMessage, IOriginalTransactionIdMessage, IPortfolioNameMessage, IMessage, ICloneable
Constructors
PortfolioMessage()
Initializes a new instance of the PortfolioMessage.
Declaration
public PortfolioMessage()
PortfolioMessage(MessageTypes)
Initialize PortfolioMessage.
Declaration
protected PortfolioMessage(MessageTypes type)
Parameters
Type | Name | Description |
---|---|---|
MessageTypes | type | Message type. |
Properties
BoardCode
Electronic board code.
Declaration
[DisplayNameLoc("Board")]
[DescriptionLoc("BoardCode", true)]
public string BoardCode { get; set; }
Property Value
Type | Description |
---|---|
String |
ClientCode
Client code assigned by the broker.
Declaration
[DisplayNameLoc("ClientCode")]
[DescriptionLoc("ClientCodeDesc", false)]
public string ClientCode { get; set; }
Property Value
Type | Description |
---|---|
String |
Count
Max count.
Declaration
public Nullable<long> Count { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int64> |
Currency
Portfolio currency.
Declaration
[DisplayNameLoc("Currency")]
[DescriptionLoc("Str251", false)]
public Nullable<CurrencyTypes> Currency { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Ecng.Common.CurrencyTypes> |
DataType
Data type info.
Declaration
public override DataType DataType { get; }
Property Value
Type | Description |
---|---|
DataType |
Overrides
StockSharp.Messages.BaseSubscriptionIdMessage<StockSharp.Messages.PortfolioMessage>.DataType
From
Start date, from which data needs to be retrieved.
Declaration
[DisplayNameLoc("Str343")]
[DescriptionLoc("Str344", false)]
public Nullable<DateTimeOffset> From { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DateTimeOffset> |
IsSubscribe
The message is subscription.
Declaration
public bool IsSubscribe { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
PortfolioName
Portfolio code name.
Declaration
[DisplayNameLoc("Name")]
[DescriptionLoc("Str247", false)]
public string PortfolioName { get; set; }
Property Value
Type | Description |
---|---|
String |
Skip
Skip count.
Declaration
public Nullable<long> Skip { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int64> |
To
End date, until which data needs to be retrieved.
Declaration
[DisplayNameLoc("Str345")]
[DescriptionLoc("Str346", false)]
public Nullable<DateTimeOffset> To { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DateTimeOffset> |
TransactionId
Request identifier.
Declaration
[DisplayNameLoc("Transaction")]
[DescriptionLoc("TransactionId", true)]
public long TransactionId { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Methods
CopyTo(PortfolioMessage)
Copy the message into the destination
.
Declaration
public override void CopyTo(PortfolioMessage destination)
Parameters
Type | Name | Description |
---|---|---|
PortfolioMessage | destination |
Overrides
StockSharp.Messages.BaseSubscriptionIdMessage<StockSharp.Messages.PortfolioMessage>.CopyTo(StockSharp.Messages.PortfolioMessage)
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
StockSharp.Messages.BaseSubscriptionIdMessage<StockSharp.Messages.PortfolioMessage>.ToString()
Explicit Interface Implementations
ISubscriptionMessage.FilterEnabled
Declaration
bool ISubscriptionMessage.FilterEnabled { get; }
Returns
Type | Description |
---|---|
Boolean |