filter_for_trading_fee#

API documentation for tradingstrategy.pair.filter_for_trading_fee Python function.

filter_for_trading_fee(pairs, fee)[source]#

Select only pairs with a specific trading fee.

Filter pairs based on AMM swap fee.

Parameters:
  • fee (float) –

    Fee as the floating point.

    For example 0.0005 for Uniswap 5 BPS fee tier.

  • pairs (DataFrame) –

Return type:

DataFrame