Class TimeSeries<T>.TimeIndexer<T2>
Helper class to allow retrieval of the series' timestamp at an offset relative to the parent algorithm's simulator timestamp.
Inheritance
object
TimeSeries<T>.TimeIndexer<T2>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TuringTrader.SimulatorV2
Assembly: TuringTrader.Simulator.dll
Syntax
public class TimeSeries<T>.TimeIndexer<T2>
Type Parameters
Name | Description |
---|---|
T2 |
Constructors
| Improve this Doc View SourceTimeIndexer(TimeSeries<T2>)
Create time indexer object.
Declaration
public TimeIndexer(TimeSeries<T2> timeSeries)
Parameters
Type | Name | Description |
---|---|---|
TimeSeries<T2> | timeSeries |
Properties
| Improve this Doc View Sourcethis[int]
Indexer to access time series's timestamp at an offset relative to the parent algorithm's simulator time.
Declaration
public DateTime this[int offset] { get; }
Parameters
Type | Name | Description |
---|---|---|
int | offset |
Property Value
Type | Description |
---|---|
System.DateTime |