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 seedn_steps (
int) – Number of simulation stepsn_borrow_agents (
int) – Number of simulated borrow agentsmu (
float, optional) – GBM mu parameter, default 0.0sigma (
float, optional) – GBM sigma parameter, default 0.3adversarial_liquidator (
bool, optional) – IfTruesimulation will use an adversarial liquidator defaultFalseshow_progress (
bool, optional) – IfTruesimulation progress will be printed
- Returns:
list– List of agent states recorded over the simulation