Table of Contents

Class SeriesManager.TestDates

Namespace
Balsam
Assembly
Balsam.Backtester.dll

Exposes read-only collection of test dates.

public class SeriesManager.TestDates : IEnumerable<DateTime>, IEnumerable
Inheritance
SeriesManager.TestDates
Implements
Inherited Members
Extension Methods

Properties

Count

Gets the number of dates in the collection.

public int Count { get; }

Property Value

int

CurrentDate

Gets the current date being tested.

public DateTime CurrentDate { get; }

Property Value

DateTime

FirstDate

Gets the first test date.

public DateTime FirstDate { get; }

Property Value

DateTime

Index

Gets the index of the current date or -1 if the simulation is not running.

public int Index { get; }

Property Value

int

this[int]

Gets the date of the specified index value according to the indexing strategy employed (Absolute, RelativeToCurrentBar).

public DateTime this[int index] { get; }

Parameters

index int

Property Value

DateTime

LastDate

Gets the last test date.

public DateTime LastDate { get; }

Property Value

DateTime

Methods

GetEnumerator()

Returns an enumerator to iterate through collection of test dates.

public IEnumerator<DateTime> GetEnumerator()

Returns

IEnumerator<DateTime>

ToString()

Returns a string representation of the test dates.

public override string ToString()

Returns

string