register_worker#

API documentation for tradeexecutor.cli.watchdog.register_worker Python function.

register_worker(watchdog_registry, name, timeout_seconds)[source]#

Register a worker/main loop.

Call before your process begins.

Parameters:
  • name (str) – Name of this process/thread/loop

  • timeout_seconds (float) – How often this

  • watchdog_registry (multiprocessing.managers.DictProxy | dict) –