SmartQuant Algo Trading Framework

BarSeries..::..GetIndex Method

Gets the index.

Namespace:  SmartQuant
Assembly:  SmartQuant (in SmartQuant.dll)

Syntax


public int GetIndex(
	DateTime datetime,
	IndexOption option
)
Public Function GetIndex ( _
	datetime As DateTime, _
	option As IndexOption _
) As Integer
public:
int^ GetIndex(
	DateTime^ datetime, 
	IndexOption^ option
)

Parameters

datetime
Type: DateTime
The datetime.
option
Type: SmartQuant..::..IndexOption
The option.

Return Value

System.Int32.