tvl_size_risk#

API documentation for tradeexecutor.strategy.tvl_size_risk Python module in Trading Strategy.

Module description#

TVL-based trade and position size risking.

Classes#

BaseTVLSizeRiskModel

A trade sizer that uses % of TVL of the target pool as the cap.

QuoteTokenTVLSizeRiskModel

Estimate the trade size based on raw quote tokens.

TVLMethod

What kind of TVL estimator we use.

USDTVLSizeRiskModel

Estimate the trade size based historical USD TVL values.