format#

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

Module description#

Functions#

calculate_percentage(number1, number2[, ...])

Get percentage of number1 to number2, return default_value if division by zero