Class StrategyNameGenerator
The class for the strategy name formation.
Namespace: StockSharp.Algo.Strategies
Assembly: StockSharp.Algo.dll
Syntax
public sealed class StrategyNameGenerator : Object
Constructors
StrategyNameGenerator(Strategy)
Initializes a new instance of the StrategyNameGenerator.
Declaration
public StrategyNameGenerator(Strategy strategy)
Parameters
Type | Name | Description |
---|---|---|
Strategy | strategy | Strategy. |
Properties
AutoGenerateStrategyName
Whether to use the automatic generation of the strategy name. It is enabled by default.
Declaration
public bool AutoGenerateStrategyName { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Pattern
The pattern for strategy name formation.
Declaration
public string Pattern { get; set; }
Property Value
Type | Description |
---|---|
String |
ShortName
The strategy brief name.
Declaration
public string ShortName { get; }
Property Value
Type | Description |
---|---|
String |
Value
Generated or set strategy name.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
String |
Events
Changed
The name change event.
Declaration
public event Action<string> Changed
Event Type
Type | Description |
---|---|
Action<String> |