timer#

tradeexecutor.utils.timer Python module in Trading Strategy framework.

Module description#

Function wall clock time tracking.

Provide helpers to understand which parts of the hot code paths take most of the time.

Functions#

timed_task(task_name, **context_info)

A simple context manger to measure the duration of different tasks.