StablecoinFilteringMode#

API documentation for tradingstrategy.pair.StablecoinFilteringMode Python class in Trading Strategy framework.

class StablecoinFilteringMode[source]#

Bases: Enum

How to filter pairs in stablecoin filtering.

See filter_for_stablecoins().

__init__()#

Attributes

only_stablecoin_pairs

Stable-stable pairs

only_volatile_pairs

Volatile pairs

all_pairs

Any trading pair

only_stablecoin_pairs = 'only_stablecoin_pairs'#

Stable-stable pairs

only_volatile_pairs = 'only_volatile_pairs'#

Volatile pairs

Usually this is “tradeable” pairs

all_pairs = 'all_pairs'#

Any trading pair