iTime
Last updated
Last updated
Returns the opening time of a bar in the specified symbol's price history.
Symbol
: The symbol to get data for
TimeFrame
: The timeframe of the data (in minutes)
index
: The index of the bar (0 is current/last bar, 1 is previous bar, etc.)
Returns an object representing the opening time of the specified bar.
The iTime
method retrieves the opening time of a bar at the specified index from the price history of a given symbol and timeframe. The index parameter uses zero-based indexing where 0 represents the current (most recent) bar. The returned time is in UTC timezone.