StablecoinFilteringMode#
API documentation for tradingstrategy.utils.token_filter.StablecoinFilteringMode Python class in Trading Strategy framework.
- class StablecoinFilteringMode[source]#
Bases:
Enum
How to filter pairs in stablecoin filtering.
- __init__(*args, **kwds)#
Attributes
Stable-stable pairs
Volatile 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