get_dust_epsilon_for_pair#

API documentation for tradeexecutor.strategy.dust.get_dust_epsilon_for_pair Python function.

get_dust_epsilon_for_pair(pair)[source]#

Get the dust threshold for a trading pair.

Parameters:

pair (TradingPairIdentifier) – Trading pair identifier.

Returns:

Maximum amount of units we consider “zero”.

Return type:

Decimal