tvl#

API documentation for tradeexecutor.ethereum.tvl Python module in Trading Strategy.

Module description#

Real-time DEX pool market depth measurement.

Functions#

fetch_quote_token_tvl_with_exchange_rate(...)

Fetch real-time TVL of any trading pool.

fetch_quote_token_tvls(web3, ...)

Fetch real-time TVL of any trading pool.

find_usd_rate(strategy_universe, asset)

Find WETH/USDT or WETH/USDC rate.