TimeSeries
Summary
A series of values that represent time like Bars.OpenPricesTime
Signature
1 | |
Namespace
cAlgo.API
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
Methods
Last
Summary
Gets the last value of this time series.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| index | int |
Return Value
DateTime
Examples
1 | |
1 | |
GetIndexByExactTime
Summary
Find the index in the different time frame series.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| dateTime | DateTime | The open time of the bar at this index |
Return Value
int
Examples
1 | |
1 | |
GetIndexByTime
Summary
Find the index in the different time frame series.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| dateTime | DateTime | The open time of the bar at this index |
Return Value
int
Examples
1 | |
1 | |
Properties
Item
Signature
1 | |
Return Value
DateTime
LastValue
Summary
Gets the last value of this time series.
Signature
1 | |
Return Value
DateTime
Examples
1 | |
1 | |
Count
Summary
Gets the number of elements contained in the series.
Signature
1 | |
Return Value
int