AssetType#

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

class AssetType[source]#

Bases: Enum

What kind of asset is this.

We mark special tokens that are dynamically created by lending protocols.

__init__()#

Attributes

token

Normal ERC-20

collateral

ERC-20 aToken with dynamic balance()

borrowed

ERC-20 vToken with dynamic balance()

token = 'token'#

Normal ERC-20

collateral = 'collateral'#

ERC-20 aToken with dynamic balance()

borrowed = 'borrowed'#

ERC-20 vToken with dynamic balance()