Click or drag to resize

SimpleDataQueue Constructor (TimeSpan, Boolean)

Initializes a new instance of the FinAnalysis.Base.SimpleDataQueue class that contains circle queue of Data and DateTime. In this case method of use will be AutoDynamic, Queue capacity will be dynamic and it will be enough for contain all elements on specified time period. Using Put method with DateTime is mandatory in this case. Note: You can give queue a hint, what initial arrays size it should use, by setting Capacity field.

Namespace:  FinAnalysis.Base
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public SimpleDataQueue(
	TimeSpan period,
	bool calcStatistics
)

Parameters

period
Type: SystemTimeSpan
Queue capacity will be dynamic and it will be enough for contain all elements of particular time period.
calcStatistics
Type: SystemBoolean
Specify it true if you want queue to calculate simple statistics.
See Also