mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 01:22:11 +00:00
26 lines
601 B
C#
26 lines
601 B
C#
namespace StockSharp.Algo.Statistics;
|
|
|
|
/// <summary>
|
|
/// Total number of orders.
|
|
/// </summary>
|
|
[Display(
|
|
ResourceType = typeof(LocalizedStrings),
|
|
Name = LocalizedStrings.TotalOrdersKey,
|
|
Description = LocalizedStrings.OrdersCountKey,
|
|
GroupName = LocalizedStrings.OrdersKey,
|
|
Order = 304
|
|
)]
|
|
public class OrderCountParameter : BaseOrderStatisticParameter<int>
|
|
{
|
|
/// <summary>
|
|
/// Initialize <see cref="OrderCountParameter"/>.
|
|
/// </summary>
|
|
public OrderCountParameter()
|
|
: base(StatisticParameterTypes.OrderCount)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public override void New(Order order) => Value++;
|
|
}
|