Table of Contents

Class OptimizerSettings

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

Optimizer settings.

public class OptimizerSettings : MarketEmulatorSettings, IPersistable
Inheritance
OptimizerSettings
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

OptimizerSettings()

public OptimizerSettings()

Properties

BatchSize

Number of simultaneously tested strategies.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Parallel", Description = "ParallelDesc", GroupName = "Optimization", Order = 200)]
public int BatchSize { get; set; }

Property Value

int

MaxIterations

Maximum possible iterations count. Zero means the option is ignored.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Iterations", Description = "MaxIterations", GroupName = "Optimization", Order = 201)]
public int MaxIterations { get; set; }

Property Value

int

MaxMessageCount

[Display(ResourceType = typeof(LocalizedStrings), Name = "MaxMessages", Description = "MaxMessagesDesc", GroupName = "Optimization", Order = 202)]
public int MaxMessageCount { get; set; }

Property Value

int

StartTime

Date in history for starting the paper trading.

[Browsable(false)]
[Obsolete("Use specified parameters in Start methods.")]
public DateTime StartTime { get; set; }

Property Value

DateTime

StopTime

Date in history to stop the paper trading (date is included).

[Browsable(false)]
[Obsolete("Use specified parameters in Start methods.")]
public DateTime StopTime { get; set; }

Property Value

DateTime

Methods

Load(SettingsStorage)

To load the state of paper trading parameters.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Storage.

Save(SettingsStorage)

To save the state of paper trading parameters.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Storage.