Table of Contents

Class BaseStatisticParameter<TValue>

Namespace
StockSharp.Algo.Statistics
Assembly
StockSharp.Algo.dll

The base statistics parameter.

public abstract class BaseStatisticParameter<TValue> : NotifiableObject, IStatisticParameter<TValue>, IStatisticParameter, IPersistable, INotifyPropertyChanged where TValue : IComparable<TValue>

Type Parameters

TValue

The type of the parameter value.

Inheritance
BaseStatisticParameter<TValue>
Implements
IPersistable
Derived
Extension Methods

Constructors

BaseStatisticParameter(StatisticParameterTypes)

protected BaseStatisticParameter(StatisticParameterTypes type)

Parameters

type StatisticParameterTypes

Type

Properties

Category

Category.

public string Category { get; }

Property Value

string

Description

The parameter description.

public string Description { get; }

Property Value

string

DisplayName

The displayed parameter name.

public string DisplayName { get; }

Property Value

string

Name

Parameter name.

public string Name { get; }

Property Value

string

Order

Order.

public int Order { get; }

Property Value

int

Type

Type.

public StatisticParameterTypes Type { get; }

Property Value

StatisticParameterTypes

Value

The current value of the parameter.

public virtual TValue Value { get; protected set; }

Property Value

TValue

ValueType

Value type.

public Type ValueType { get; }

Property Value

Type

Methods

Init(TValue)

Init by initial value.

public virtual void Init(TValue beginValue)

Parameters

beginValue TValue

Initial value.

Load(SettingsStorage)

To load the state of statistic parameter.

public virtual void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Storage.

Reset()

To reset the parameter value.

public virtual void Reset()

Save(SettingsStorage)

To save the state of statistic parameter.

public virtual void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Storage.

Events

ValueChanged

Value change event.

public event Action ValueChanged

Event Type

Action