Skip to content

BacktestingProcess

Summary

Represents a backtesting process with methods and properties to monitor its status and results.

Signature

1
public abstract interface BacktestingProcess

Namespace

cAlgo.API

Methods

Terminate

Summary

Terminates the backtesting process.

Signature

1
public abstract void Terminate()

Return Value

void

Properties

BacktestingError

Summary

Gets the error information if the backtesting process failed.

Signature

1
public abstract BacktestingError BacktestingError {get;}

Return Value

BacktestingError

IsCompleted

Summary

Gets a value indicating whether the backtesting process is completed.

Signature

1
public abstract bool IsCompleted {get;}

Return Value

bool

JsonReport

Summary

Gets the JSON report of the backtesting results. Returns null if the backtesting is not finished or an error occurred.

Signature

1
public abstract string JsonReport {get;}

Return Value

string

HtmlReport

Summary

Gets the HTML report of the backtesting results. Returns null if the backtesting is not finished or an error occurred.

Signature

1
public abstract string HtmlReport {get;}

Return Value

string

Events

ProgressChanged

Summary

Occurs when the backtesting progress changes.

Signature

1
public abstract event Action<BacktestingProgressChangedEventArgs> ProgressChanged;

Completed

Summary

Occurs when the backtesting process is completed.

Signature

1
public abstract event Action<BacktestingCompletedEventArgs> Completed;