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.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

Handling of stablecoin deposits as strategy reserves.

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.tx

EVM transaction construction.

tradeexecutor.ethereum.uniswap_v2_execution

Execution model where trade happens directly on Uniswap v2 style exchange.

tradeexecutor.ethereum.uniswap_v2_execution_v0

Execution model where trade happens directly on Uniswap v2 style exchange.

tradeexecutor.ethereum.uniswap_v2_live_pricing

Uniswap v2 live pricing.

tradeexecutor.ethereum.uniswap_v2_routing

Route trades to different Uniswap v2 like exchanges.

tradeexecutor.ethereum.uniswap_v2_valuation

Value model based on Uniswap v2 market price.

tradeexecutor.ethereum.uniswap_v2_valuation_v0

Protoype model of Uniswap v2 pricing.

tradeexecutor.ethereum.uniswap_v3_execution

Execution model where trade happens directly on Uniswap v2 style exchange.

tradeexecutor.ethereum.uniswap_v3_live_pricing

Uniswap v3 live pricing.

tradeexecutor.ethereum.uniswap_v3_routing

Route trades to different Uniswap v2 like exchanges.

tradeexecutor.ethereum.uniswap_v3_valuation

Value model based on Uniswap v3 market price.

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.