OptimizerSettings

StockSharp.Algo.Strategies.Optimization

Optimizer settings.

Inherits: MarketEmulatorSettings

Properties

BatchSize
public int BatchSize { get; set; }
value = optimizerSettings.BatchSize
optimizerSettings.BatchSize = value

Number of simultaneously tested strategies.

MaxIterations
public int MaxIterations { get; set; }
value = optimizerSettings.MaxIterations
optimizerSettings.MaxIterations = value

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

MaxMessageCount
public int MaxMessageCount { get; set; }
value = optimizerSettings.MaxMessageCount
optimizerSettings.MaxMessageCount = value

Maximum number of messages processed during backtesting. Negative value means the option is ignored.

Methods

Load
public override void Load(SettingsStorage storage)
optimizerSettings.Load(storage)

To load the state of paper trading parameters.

storage
Storage.
Save
public override void Save(SettingsStorage storage)
optimizerSettings.Save(storage)

To save the state of paper trading parameters.

storage
Storage.