verbs_examples.agents.uniswap_agent#

Agent that trades token on uniswap to follow an external market

Functions

price_from_tick

Get price from tick

tick_from_price

Get tick from price and fee

Classes

BaseUniswapAgent

Base agent that makes trades in Uniswap

DummyUniswapAgent

Dummy uniswap agent used for cache generation

Gbm

Geometric brownian motion modelling the price of two tokens

UniswapAgent

Agent that makes trades in Uniswap and the external market in order to make arbitrage