Class StrategyInfoMessage
The message contains information about strategy.
Implements
Inherited Members
Namespace: StockSharp.Algo.Strategies.Messages
Assembly: StockSharp.Algo.dll
Syntax
public class StrategyInfoMessage : BaseSubscriptionIdMessage<StrategyInfoMessage>, IExtendableEntity, ISubscriptionIdMessage, IOriginalTransactionIdMessage, IMessage, ICloneable
Constructors
StrategyInfoMessage()
Initializes a new instance of the StrategyInfoMessage.
Declaration
public StrategyInfoMessage()
Properties
Author
The author identifier.
Declaration
public long Author { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Content
Content.
Declaration
public long Content { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
ContentType
Type of Content.
Declaration
public ProductContentTypes ContentType { get; set; }
Property Value
Type | Description |
---|---|
ProductContentTypes |
CreationDate
The creation date.
Declaration
public DateTimeOffset CreationDate { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
DataType
Data type info.
Declaration
public override DataType DataType { get; }
Property Value
Type | Description |
---|---|
DataType |
Overrides
StockSharp.Messages.BaseSubscriptionIdMessage<StockSharp.Algo.Strategies.Messages.StrategyInfoMessage>.DataType
Description
Strategy description.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
String |
Id
Strategy server ID.
Declaration
public long Id { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
IsColocation
Is colocation available for the strategy.
Declaration
public bool IsColocation { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsPrivate
Only visible to author.
Declaration
public bool IsPrivate { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Name
Strategy name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Parameters
Strategy parameters.
Declaration
public IDictionary<string, (string, string)> Parameters { get; }
Property Value
Type | Description |
---|---|
IDictionary<String, (, )<String, String>> |
Picture
The picture identifier.
Declaration
public Nullable<long> Picture { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int64> |
Price
The purchase price.
Declaration
public Decimal Price { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
PriceType
Type of Price.
Declaration
public ProductPriceTypes PriceType { get; set; }
Property Value
Type | Description |
---|---|
ProductPriceTypes |
ProductId
Product ID.
Declaration
public long ProductId { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
PromoEnd
Promo end date.
Declaration
public Nullable<DateTimeOffset> PromoEnd { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DateTimeOffset> |
PromoPrice
Promo price.
Declaration
public Nullable<Decimal> PromoPrice { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Decimal> |
Revision
The content revision.
Declaration
public int Revision { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
StrategyId
Strategy ID.
Declaration
public Guid StrategyId { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Tags
Strategy tags.
Declaration
public string Tags { get; set; }
Property Value
Type | Description |
---|---|
String |
Topic
The identifier of a topic in the forum where the strategy is discussed.
Declaration
public long Topic { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Methods
CopyTo(StrategyInfoMessage)
Copy the message into the destination
.
Declaration
public override void CopyTo(StrategyInfoMessage destination)
Parameters
Type | Name | Description |
---|---|---|
StrategyInfoMessage | destination |
Overrides
StockSharp.Messages.BaseSubscriptionIdMessage<StockSharp.Algo.Strategies.Messages.StrategyInfoMessage>.CopyTo(StockSharp.Algo.Strategies.Messages.StrategyInfoMessage)
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
StockSharp.Messages.BaseSubscriptionIdMessage<StockSharp.Algo.Strategies.Messages.StrategyInfoMessage>.ToString()