ExchangeType#

API documentation for tradeexecutor.state.identifier.ExchangeType Python class in Trading Strategy framework.

class ExchangeType[source]#

Bases: object

What kind of a DEX we use for this pair.

Note that a trading pair can have several protocols associated with it, DEX is just one of them.

__init__()#
Return type:

None

Methods

__init__()

from_dict(kvs, *[, infer_missing])

from_json(s, *[, parse_float, parse_int, ...])

schema(*[, infer_missing, only, exclude, ...])

to_dict([encode_json])

to_json(*[, skipkeys, ensure_ascii, ...])

Attributes

uniswap_v2

El Classico

uniswap_v3

ERC-20 aToken with dynamic balance()

uniswap_v2 = 'uniswap_v2'#

El Classico

uniswap_v3 = 'uniswap_v3'#

ERC-20 aToken with dynamic balance()

__init__()#
Return type:

None