ethereum#

tradeexecutor.ethereum Python module in Trading Strategy framework.

Module description#

EVM execution integration.

This module offers integration for

  • Uniswap v2 compatible trade execution

  • Uniswap v2 live pricing

  • Single-owner Ethereum hot wallet asset management

  • ERC-20 asset management

  • High level trade structuresto Ethereum blockchain level transactions translation

Submodules#

tradeexecutor.ethereum.enzyme

Enzyme vaults integration.

tradeexecutor.ethereum.eth_pricing_model

Asset pricing model for Uniswap V2 and V3 like exchanges.

tradeexecutor.ethereum.eth_valuation

Value model based on Uniswap v3 market price.

tradeexecutor.ethereum.ethereumtrader

tradeexecutor.ethereum.execution

Dealing with Ethereum low level tranasctions.

tradeexecutor.ethereum.hot_wallet_sync_model

Sync model for strategies using a single hot wallet.

tradeexecutor.ethereum.onchain_balance

On-chain live balance reader

tradeexecutor.ethereum.revert

Revert reason helpers.

tradeexecutor.ethereum.routing_data

Default routing models for Uniswap v2 like exchange.

tradeexecutor.ethereum.routing_model

tradeexecutor.ethereum.routing_state

Route trades to different Uniswap v2 like exchanges.

tradeexecutor.ethereum.token

ERC-20 token data helpers.

tradeexecutor.ethereum.tx

EVM transaction construction.

tradeexecutor.ethereum.uniswap_v2

tradeexecutor.ethereum.uniswap_v3

tradeexecutor.ethereum.universe

Reverse engineering Trading Strategy trading universe from the local EVM tester Uniswap v2 deployment.

tradeexecutor.ethereum.wallet

Deposit and withdraw detection and management.

tradeexecutor.ethereum.web3config

Web3 connection configuration.