UltimateSummator Class |
Namespace: FinAnalysis.Base
public sealed class UltimateSummator : IEnumerable<double>, IEnumerable
The UltimateSummator type exposes the following members.
Name | Description | |
---|---|---|
UltimateSummator |
Default constructor.
| |
UltimateSummator(Int32) |
Create new instance of ultimate summator.
| |
UltimateSummator(TimeSpan) |
Create new instance of ultimate summator.
|
Name | Description | |
---|---|---|
Count |
Number of point in summator.
| |
ItemDateTime |
Return historically latest element with smaller or equal DateTime.
Note: do not try to use this method if you didn't specify DateTime to data elements.
| |
ItemInt32 |
Get data which was store "pointsCount" steps ago.
| |
TotalSum |
Total sum of points in sliding window.
|
Name | Description | |
---|---|---|
Clone |
Makes full copy of this instance.
| |
CopyTo |
Sets internal state to destination object.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetEnumerator |
Returns an enumerator that iterates through a collection.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetIntervalSum(DateTime, DateTime) |
Get sum on time-based interval.
| |
GetIntervalSum(Int32, Int32) |
Get sum on point-based interval.
| |
GetIntervalSumOffsets |
Get sum on point-based interval.
| |
GetSumFromFirst(DateTime) |
Get sum from the oldest point in sliding window to specified time inclusively.
| |
GetSumFromFirst(Int32) |
Get sum of pointsCount elements starting from the very oldest point.
| |
GetSumFromLast(DateTime) |
Get sum from the recent point in sliding window to specified time inclusively.
| |
GetSumFromLast(Int32) |
Get sum of pointsCount elements starting from current point.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Put(Double) |
Store new data element in summator.
Note: Please do not use both with and without DateTime method for one queue instance.
| |
Put(Double, DateTime) |
Store new data element in summator.
Note: Please do not use both with and without DateTime method for one queue instance.
| |
ToArray |
Copies the elements of the SimpleDataQueue to a new array.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
DefaultDateTime |
Default DateTime, which will be assumed as default date value.
|