public method PriceHistoryHelperAut.GetPeriods

Brief

Gets identifiers of available periods.

Declaration
Visual Basic
Function GetPeriods () As StringEnumAut
IDL
[id(1)] HRESULT GetPeriods( [out, retval] IDispatch* retVal)

Returns

The method returns an instance of the StringEnumAut class. It is the collection of periods supported by the server.

A period is a letter followed by a number. The letter indicates the time unit and the number - number of time units in the period. The list of time units is shown in the table below:

t

Ticks. The number is always 1 for ticks.

m

Minutes. The number of time units can be any supported by the server.

H

Hours. The number of time units can be any supported by the server.

D

Days. The number of time units can be any supported by the server.

W

Weeks. The number of time units can be any supported by the server.

M

Months. The number of time units can be any supported by the server.


The received period can be used in the methods:

Before using this method, please make sure that there is connection with the price server. You can use the TradeDeskAut.IsPriceServerConnected method.

Details

The GetPeriods method is defined in the PriceHistoryHelperAut class.

back