Table of Contents

Class StrategyNameGenerator

Namespace
StockSharp.Algo.Strategies
Assembly
StockSharp.Algo.dll

The class for the strategy name formation.

public sealed class StrategyNameGenerator
Inheritance
StrategyNameGenerator
Inherited Members
Extension Methods

Constructors

StrategyNameGenerator(Strategy)

Initializes a new instance of the StrategyNameGenerator.

public StrategyNameGenerator(Strategy strategy)

Parameters

strategy Strategy

Strategy.

Properties

AutoGenerateStrategyName

Whether to use the automatic generation of the strategy name. It is enabled by default.

public bool AutoGenerateStrategyName { get; set; }

Property Value

bool

Pattern

The pattern for strategy name formation.

public string Pattern { get; set; }

Property Value

string

ShortName

The strategy brief name.

public string ShortName { get; }

Property Value

string

Value

Generated or set strategy name.

public string Value { get; set; }

Property Value

string

Events

Changed

The name change event.

public event Action<string> Changed

Event Type

Action<string>