uniswap_v2_routing#

tradeexecutor.ethereum.uniswap_v2.uniswap_v2_routing Python module in Trading Strategy framework.

Module description#

Route trades to different Uniswap v2 like exchanges.

Classes#

UniswapV2RoutingState

UniswapV2SimpleRoutingModel

A simple router that does not optimise the trade execution cost.

Functions#

get_uniswap_for_pair(web3, ...)

Get a router for a trading pair.