format#

tradeexecutor.utils.format module.

Module description#

Functions#

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

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