TA-Lib : Technical Analysis Library

NaturalPeriod Enumeration

When the TimestampsType is "Wrapped", the natural period can be set as either: 1 year, 1 month, 1 day, 1 hour or 1 minute. The timestamps are accordingly truncated. Example: the user might choose to span a time series over a period of 1 year. In that case, the "year" field is ignored. All values will be synchronized using their month, day, hour, minute and second only.

[Visual Basic]
Public Enum NaturalPeriod
[C#]
public enum NaturalPeriod
[C++]
public __value enum NaturalPeriod
[JScript]
public enum NaturalPeriod

Members

Member NameDescription
NoneValue when not applicable.
YearData span over a period of 1 year.
MonthData span over a period of 1 month.
DayData span over a period of 1 day.
HourData span over a period of 1 hour.
MinuteData span over a period of 1 minute.

Requirements

Namespace: TA.Lib

Assembly: Timeseries (in Timeseries.dll)

See Also

TA.Lib Namespace