uniswap_v3_routing#

tradeexecutor.ethereum.uniswap_v3.uniswap_v3_routing Python module in Trading Strategy framework.

Module description#

Route trades to different Uniswap v2 like exchanges.

Classes#

UniswapV3RoutingState

UniswapV3SimpleRoutingModel

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

Functions#

get_uniswap_for_pair(web3, address_map, ...)

Get a router for a trading pair.