uniswap_v2_live_pricing#

tradeexecutor.ethereum.uniswap_v2_live_pricing Python module in Trading Strategy framework.

Module description#

Uniswap v2 live pricing.

Directly asks Uniswap v2 asset price from Uniswap pair contract and JSON-RPC API.

Classes#

UniswapV2LivePricing

Always pull the latest dollar price for an asset from Uniswap v2 deployment.

Functions#