format_value#

API documentation for tradingstrategy.utils.format.format_value Python function.

format_value(v)[source]#

Format US dollar trade value, assume value significantly > $1 dollar.

Two decimals.

Parameters:

v (float) –

Return type:

str