python_function#

API documentation for tradeexecutor.utils.python_function Python module in Trading Strategy.

Module description#

Python function utilities.

  • Hash Python function bodies

Functions#

hash_function(func[, char_length, bytecode_only])

Produces a hash for the code in the given function.