Class OptimizationCompletedEventArgs
- Namespace
- Balsam
- Assembly
- Balsam.Backtester.dll
Encapsulates various results from a completed optimization.
public class OptimizationCompletedEventArgs : EventArgs
- Inheritance
-
OptimizationCompletedEventArgs
- Inherited Members
- Extension Methods
Constructors
OptimizationCompletedEventArgs(TradeStatsCollection, int, int, int, DateTime, DateTime, bool)
Instantiates a new OptimizationCompletedEventArgs object using the specified parameters.
public OptimizationCompletedEventArgs(TradeStatsCollection results, int iterations, int skipped, int completed, DateTime startTime, DateTime endTime, bool isCanceled)
Parameters
results
TradeStatsCollectioniterations
intskipped
intcompleted
intstartTime
DateTimeendTime
DateTimeisCanceled
bool
Properties
Completed
Gets the total number of iterations that were completed successfully.
public int Completed { get; }
Property Value
IsCanceled
Returns true if the optimization has halted by the user.
public bool IsCanceled { get; }
Property Value
OptimizationEndTime
Gets the end time of the optimization.
public DateTime OptimizationEndTime { get; }
Property Value
OptimizationStartTime
Gets the start time of the optimization.
public DateTime OptimizationStartTime { get; }
Property Value
Results
Gets a collection of the optimization results.
public TradeStatsCollection Results { get; }
Property Value
Skipped
Gets the total number of iterations that were skipped due to binding constraints.
public int Skipped { get; }
Property Value
TotalElapsedTime
Gets the total elapsed time for the optimization.
public TimeSpan TotalElapsedTime { get; }
Property Value
TotalIterations
Gets the total number of iterations.
public int TotalIterations { get; }