Skip to content

BacktestingSettings

Summary

Represents settings for configuring the backtesting process.

Signature

1
public class BacktestingSettings

Namespace

cAlgo.API

Properties

StartTimeUtc

Summary

Gets or sets the start time in UTC for the backtesting period.

Signature

1
public DateTime StartTimeUtc {get; set;}

Return Value

DateTime

EndTimeUtc

Summary

Gets or sets the end time in UTC for the backtesting period.

Signature

1
public DateTime EndTimeUtc {get; set;}

Return Value

DateTime

Balance

Summary

Gets or sets the initial balance for the backtesting.

Signature

1
public double Balance {get; set;}

Return Value

double

DataMode

Summary

Gets or sets the data mode used for backtesting.

Signature

1
public BacktestingDataMode DataMode {get; set;}

Return Value

BacktestingDataMode

DataFile

Summary

Gets or sets the path to the data file used for backtesting.

Signature

1
public string DataFile {get; set;}

Return Value

string

CommissionUsdPerMillionUsd

Summary

Gets or sets the commission in USD per million USD traded.

Signature

1
public double CommissionUsdPerMillionUsd {get; set;}

Return Value

double

SpreadPips

Summary

Gets or sets the spread in pips.

Signature

1
public double SpreadPips {get; set;}

Return Value

double