is_rebase#

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

is_rebase(token_symbol)[source]#

Identify common rebase tokens.

  • They will have dynamic balance and not suitable for trading as is

  • E.g. OHM

Returns:

True if token symbol matches a common known derivative token symbol pattern

Parameters:

token_symbol (str) –

Return type:

bool