Pools

Base Classes

AbstractPool

Abstract base class for implementing various types of liquidity pools.

TFMMBasePool

TFMMBasePool is an abstract base class for implementing TFMM (Temporal Function Market Making) liquidity pools.

Constant Weight Pools

BalancerPool

Implementation of Balancer's constant-weight liquidity pool.

CowPool

A class representing a CowPool, which is a type of automated market maker (AMM) pool

HODLPool

HODLPool is a subclass of AbstractPool that represents a pool with no activity.

QuantAMM Dynamic Weight Pools

MomentumPool

A class for momentum strategies run as TFMM (Temporal Function Market Making) liquidity pools, extending the TFMMBasePool class.

AntiMomentumPool

A class for anti-momentum strategies run as TFMM liquidity pools.

PowerChannelPool

A class for power channel strategies run as TFMM liquidity pools.

MeanReversionChannelPool

A class for mean reversion channel strategies run as TFMM liquidity pools.

TripleThreatMeanReversionChannelPool

QuantAMM pool combining mean-reversion channel and trend-following rules.

MinVariancePool

A class for min variance strategies run as TFMM (Temporal Function Market Making) liquidity pools, extending the TFMMBasePool class.

DifferenceMomentumPool

A class for difference-momentum strategies run as TFMM liquidity pools.

Index Pools

HodlingIndexPool

Market-cap index pool that HODLs reserves between weight updates.

TradHodlingIndexPool

Market-cap index pool simulating traditional (off-chain) rebalancing.

Concentrated Pools

GyroscopePool

Elliptical Concentrated Liquidity Pool (ECLP) implementation.

Helper Functions

creator.create_pool

Create a pool instance based on the specified rule type.

creator.create_hooked_pool_instance

Create a pool instance with hook classes mixed in via Python MRO.