format_fees_percentage#

API documentation for tradeexecutor.strategy.trade_pricing.format_fees_percentage Python function.

format_fees_percentage(fees)[source]#

Returns string of formatted fees

e.g. fees = [0.03, 0.005] => 0.3000% 0.0500%

Parameters:

fees (list[float]) – list of lp fees in float (multiplier) format

Returns:

formatted str

Return type:

str