uniswap_v2_valuation#

tradeexecutor.ethereum.uniswap_v2_valuation module.

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#