filter_for_rebases#

API documentation for tradingstrategy.utils.token_filter.filter_for_rebases Python function.

filter_for_rebases(pairs, rebase=False)[source]#

Detect rebase token.

  • These tokens have dynamic balance and cannot be traded as is

  • Example: OHM, KLIMA

Parameters:
  • rebase – Set false to exclude derivative token, True to have only them.

  • pairs (DataFrame) –

Return type:

DataFrame