Skip to content

HistoryTimestampIterable #

Bases: object

__iter__() #

Implement iter(self).

__len__() #

Return len(self).

__repr__() #

Return repr(self).

collect() #

Collect timestamps for each history into a NumPy array.

Returns:

Type Description
list[NDArray[int64]]

NumPy NDArray of timestamps in milliseconds per history.

to_list() #

Collect timestamps for each history into a list.

Returns:

Type Description
list[list[int]]

List of timestamps in milliseconds per history.