EnzymeAssetType#

tradeexecutor.ethereum.enzyme.asset.EnzymeAssetType Python class in Trading Strategy framework.

class EnzymeAssetType[source]#

Bases: Enum

An enumeration.

__init__()#

Methods

classify_by_symbol(symbol)

Classify a token

Attributes

token

Any token with normal price action

stablecoin

Stablecoin

derivative

Derivatice of some other token like staked ETH

broken

Broken tokens

token = 'token'#

Any token with normal price action

stablecoin = 'stablecoin'#

Stablecoin

derivative = 'derivative'#

Derivatice of some other token like staked ETH

broken = 'broken'#

Broken tokens

static classify_by_symbol(symbol)[source]#

Classify a token

Note

Work in progress

Parameters:

symbol (str | None) – Token symbol

Return type:

EnzymeAssetType