universe#

tradeexecutor.ethereum.universe module.

Module description#

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

Functions#

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 Trade Executor test data.