Skip to content

Backtesting

Summary

Provides methods and events to manage and monitor backtesting processes.

Signature

1
public abstract interface Backtesting

Namespace

cAlgo.API

Methods

Start

Summary

Starts the backtesting process.

Signature

1
public abstract BacktestingProcess Start(RobotType robotType, string symbolName, TimeFrame timeFrame, BacktestingSettings settings, object[] parameterValues)

Parameters

Name Type Description
robotType RobotType The type of a robot to use for backtesting
symbolName string The symbol name for which backtesting is performed
timeFrame TimeFrame The time frame for the backtesting
settings BacktestingSettings The settings to configure the backtesting process
parameterValues object[] Additional parameters for the robot

Return Value

BacktestingProcess

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;