is_legit_price_value#

is_legit_price_value(usd_unit_price)[source]#

Avoid taking positions in trading pairs where pricing in wacky.

Pricing unit might be too small or too large, causing

  • Displaying issues

  • Floating point rounding issues

Usually legit trading pairs do not have such price units.

Parameters:

usd_unit_price (float) –

Return type:

bool