mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 01:22:11 +00:00
48 lines
894 B
C#
48 lines
894 B
C#
namespace StockSharp.Community
|
|
{
|
|
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
/// <summary>
|
|
/// The strategy subscription.
|
|
/// </summary>
|
|
[DataContract]
|
|
public class StrategySubscription
|
|
{
|
|
/// <summary>
|
|
/// Identifier.
|
|
/// </summary>
|
|
[DataMember]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Identifier of <see cref="StrategyData"/>.
|
|
/// </summary>
|
|
[DataMember]
|
|
public long StrategyId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Start time.
|
|
/// </summary>
|
|
[DataMember]
|
|
public DateTime Start { get; set; }
|
|
|
|
/// <summary>
|
|
/// End time.
|
|
/// </summary>
|
|
[DataMember]
|
|
public DateTime End { get; set; }
|
|
|
|
/// <summary>
|
|
/// Amount of the subscription.
|
|
/// </summary>
|
|
[DataMember]
|
|
public decimal Amount { get; set; }
|
|
|
|
/// <summary>
|
|
/// Is auto renewable subscription.
|
|
/// </summary>
|
|
[DataMember]
|
|
public bool IsAutoRenew { get; set; }
|
|
}
|
|
} |