Files
StockSharp/Community/StrategyData.cs
T
2015-09-23 02:10:51 +03:00

66 lines
1.3 KiB
C#

namespace StockSharp.Community
{
using System;
using System.Runtime.Serialization;
/// <summary>
/// The strategy data.
/// </summary>
[DataContract]
public class StrategyData
{
/// <summary>
/// Identifier.
/// </summary>
[DataMember]
public long Id { get; set; }
/// <summary>
/// The creation date.
/// </summary>
[DataMember]
public DateTime CreationDate { get; set; }
/// <summary>
/// Name.
/// </summary>
[DataMember]
public string Name { get; set; }
/// <summary>
/// Strategy description.
/// </summary>
[DataMember]
public string Description { get; set; }
/// <summary>
/// The identifier of a topic in the forum where the strategy is discussed.
/// </summary>
[DataMember]
public int TopicId { get; set; }
/// <summary>
/// The purchase price.
/// </summary>
[DataMember]
public decimal Price { get; set; }
/// <summary>
/// Source code (if the strategy is distributed in source code).
/// </summary>
[DataMember]
public string SourceCode { get; set; }
/// <summary>
/// The compiled build (if the strategy is distributed as a finished build).
/// </summary>
[DataMember]
public byte[] CompiledAssembly { get; set; }
/// <summary>
/// The author identifier.
/// </summary>
[DataMember]
public long Author { get; set; }
}
}