uniswap_v3_execution#

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

Module description#

Execution model where trade happens directly on Uniswap v2 style exchange.

Classes#

UniswapV3ExecutionModel

Run order execution on a single Uniswap v3 style exchanges.

Functions#

get_current_price(web3, uniswap, pair[, ...])

Get a price from Uniswap v3 pool, assuming you are selling 1 unit of base token.