Suoranta.Finance Namespace
Suoranta.Finance - Developer API

IBarIndexer..::..GetIndexDelta Method

Index distance between timestamps present in the schedule.

Namespace:  Suoranta.Finance
Assembly:  Suoranta.Finance (in Suoranta.Finance.dll)

Syntax


int GetIndexDelta(
	DateTimeOffset first,
	DateTimeOffset second
)

Parameters

first
Type: DateTimeOffset
the first timestamp
second
Type: DateTimeOffset
the second timestamp

Return Value

Index of second with index of the first subtracted from it.