identifier#

API documentation for tradeexecutor.state.identifier Python module in Trading Strategy.

Module description#

Asset and trading pair identifiers.

How executor internally knows how to connect trading pairs in data and in execution environment (on-chain).

Classes#

AssetIdentifier

Identify a blockchain asset for trade execution.

AssetType

What kind of asset is this.

AssetWithTrackedValue

Track one asset with a value.

ExchangeType

What kind of a DEX we use for this pair.

TradingPairIdentifier

Uniquely identify one trading pair across all tradeable blockchain assets.

TradingPairKind

What kind of trading position this is.