PairType#
tradingstrategy.pair.PairType class.
- class PairType[source]#
Bases:
Enum
What kind of an decentralised exchange, AMM or other the pair is trading on.
Note that each type can have multiple implementations. For example QuickSwap, Sushi and Pancake are all Uniswap v2 types.
- __init__()#
Attributes
Uniswap v2 style exchange
Uniswap v3 style exchange
- uniswap_v2 = 'uni_v2'#
Uniswap v2 style exchange
- uniswap_v3 = 'uni_v3'#
Uniswap v3 style exchange