uniswap_v2_valuation#

API documentation for tradeexecutor.ethereum.uniswap_v2.uniswap_v2_valuation Python module in Trading Strategy.

Module description#

Value model based on Uniswap v2 market price.

Value positions based on their “dump” price on Uniswap, assuming we get the worst possible single trade execution.

Classes#

UniswapV2PoolRevaluator

Re-value assets based on their on-chain price.

Functions#