uniswap_v2_live_pricing#

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

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#