OptimizerSettings

StockSharp.Algo.Strategies.Optimization

Optimierereinstellungen.

Erbt von: MarketEmulatorSettings

Eigenschaften

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

Anzahl der gleichzeitig getesteten Strategien.

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

Maximal mögliche Iterationen zählen. Null bedeutet, dass die Option ignoriert wird.

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

Maximale Anzahl von Nachrichten, die während des Backtestings verarbeitet werden. Negativer Wert bedeutet, dass die Option ignoriert wird.

Methoden

LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = optimizerSettings.LoadAsync(storage, cancellationToken)

To load the state of paper trading parameters.

storage
Storage.
cancellationToken
CancellationToken

Rückgabe: Task

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = optimizerSettings.SaveAsync(storage, cancellationToken)

To save the state of paper trading parameters.

storage
Storage.
cancellationToken
CancellationToken

Rückgabe: Task