ethereum#
API documentation for tradeexecutor.ethereum Python module in Trading Strategy.
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#
| Sync model for strategies which poll blockchain for incoming deposits/withdrawals. | |
| Logic for managing reserve update events. | |
| Enzyme vaults integration. | |
| Asset pricing model for Uniswap V2 and V3 like exchanges. | |
| Value model based on Uniswap v3 market price. | |
| Default protocols support for EVM blockchains. | |
| Dealing with Ethereum low level tranasctions. | |
| Sync model for strategies using a single hot wallet. | |
| On-chain live balance reader | |
| Rebroadcast unstarted/unfinished txs in trades. | |
| Revert reason helpers. | |
| Default routing models for Uniswap v2 like exchange. | |
| Route trades to different Uniswap v2 like exchanges. | |
| Post-trade execution swap helpers. | |
| ERC-20 token data helpers. | |
| Real-time DEX pool market depth measurement. | |
| EVM transaction construction. | |
| Reverse engineering Trading Strategy trading universe from the local EVM tester Uniswap v2 deployment. | |
| Deposit and withdraw detection and management. | |
| Web3 connection configuration. |