verbs_examples.aave.sim.runner#

runner(env, seed: int, n_steps: int, *, n_borrow_agents: int, mu: float = 0.0, sigma: float = 0.3, adversarial_liquidator: bool = False, uniswap_agent_type=<class 'verbs_examples.agents.uniswap_agent.UniswapAgent'>, show_progress: bool = True) List[List][source]#

Aave simulation runner

Parameters:
  • env – Simulation environment

  • seed (int) – Random seed

  • n_steps (int) – Number of simulation steps

  • n_borrow_agents (int) – Number of simulated borrow agents

  • mu (float, optional) – GBM mu parameter, default 0.0

  • sigma (float, optional) – GBM sigma parameter, default 0.3

  • adversarial_liquidator (bool, optional) – If True simulation will use an adversarial liquidator default False

  • show_progress (bool, optional) – If True simulation progress will be printed

Returns:

list – List of agent states recorded over the simulation