verbs_examples.uniswap.sim.runner#
- runner(env, seed: int, n_steps: int, *, mu: float = 0.0, sigma: float = 0.3, uniswap_agent_type=<class 'verbs_examples.agents.uniswap_agent.UniswapAgent'>, show_progress=True) List[List][source]#
Uniswap simulation runner
- Parameters:
env – Simulation environment
seed (
int) – Random seedn_steps (
int) – Number of simulation stepsmu (
float, optional) – GBM mu parameter, default 0.0sigma (
float, optional) – GBM sigma parameter, default 0.3uniswap_agent_type (
BaseUniswapAgent, optional) – Either UniswapAgent or DummyUniswapAgent, depending on whether the simulation is initialising the Cache or notshow_progress (
bool, optional) – IfTruesimulation progress will be printed
- Returns:
list– List of agent states recorded over the simulation