tensortrade.core.clock module¶
-
class
tensortrade.core.clock.
Clock
[source]¶ Bases:
object
A class to track the time for a process.
-
increment
() → None[source] Increments the clock by specified time increment.
-
now
(format: str = None) → datetime.datetime[source] Gets the current time in the provided format. :param format: The format to put the current time into. :type format: str or None, optional
Returns: datetime – The current time.
-
reset
() → None[source] Resets the clock.
-