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
StrategyStrategy.
Properties
AutoGenerateStrategyName
Whether to use the automatic generation of the strategy name. It is enabled by default.
public bool AutoGenerateStrategyName { get; set; }
Property Value
Pattern
The pattern for strategy name formation.
public string Pattern { get; set; }
Property Value
ShortName
The strategy brief name.
public string ShortName { get; }
Property Value
Value
Generated or set strategy name.
public string Value { get; set; }
Property Value
Events
Changed
The name change event.
public event Action<string> Changed