cloudpickle_patch#

API documentation for tradeexecutor.monkeypatch.cloudpickle_patch Python module in Trading Strategy.

Module description#

Enable using multiprocess in Jupyter Notebooks.

See https://stackoverflow.com/questions/77453594/parallelising-functions-using-multiprocessing-in-jupyter-notebook

  • Monkey patches the standard library pickle implementation with one that fully pickles functions, instead of passing them by a dotted name reference, between multiprocesses

Functions#