ExchangeType#
tradingstrategy.exchange.ExchangeType Python class in Trading Strategy framework.
- class ExchangeType[source]#
-
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 v2 style exchange, but with incompatible implementation (e.g.
Uniswap v3 style exchange
- uniswap_v2 = 'uniswap_v2'#
Uniswap v2 style exchange
- uniswap_v2_incompatible = 'uniswap_v2_incompatible'#
Uniswap v2 style exchange, but with incompatible implementation (e.g. Nomiswap Stable)
- uniswap_v3 = 'uniswap_v3'#
Uniswap v3 style exchange