API documentation for tradeexecutor.cli.watchdog.WatchdogMode Python class in Trading Strategy framework.

class WatchdogMode[source]#

Bases: Enum

How does the watchdog communicate with its tasks.




Thread based.


Process based.

thread_based = 'thread_based'#

Thread based.

The application does not need to communicate with child processe.

process_based = 'process_based'#

Process based.

The application has child processes and needs to set up multiprocess communicatons.

DictProxy is used to communicate task liveness and it works across process boundaries.

For the caveats see, as this may cause zombie processes.