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
CurrentDate
Gets the current date being tested.
public DateTime CurrentDate { get; }
Property Value
FirstDate
Gets the first test date.
public DateTime FirstDate { get; }
Property Value
Index
Gets the index of the current date or -1 if the simulation is not running.
public int Index { get; }
Property Value
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
LastDate
Gets the last test date.
public DateTime LastDate { get; }
Property Value
Methods
GetEnumerator()
Returns an enumerator to iterate through collection of test dates.
public IEnumerator<DateTime> GetEnumerator()
Returns
ToString()
Returns a string representation of the test dates.
public override string ToString()