API documentation for tradeexecutor.ethereum.universe Python module in Trading Strategy.

Module description#

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


create_exchange_universe(web3, uniswaps)

Create an exchange universe with a list of Uniswap v2 deployments.

create_pair_universe(web3, exchange, pairs)

Creates a PairUniverse from on-chain test data.