get_close_epsilon_for_pair#

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

get_close_epsilon_for_pair(pair)[source]#

Get the close threshold for a trading pair.

  • Currently same as dust epsilon

See also get_dust_epsilon_for_pair().

Parameters:

pair (TradingPairIdentifier) – Trading pair identifier.

Returns:

Maximum amount of units we consider “zero”.

Return type:

Decimal