verbs_examples.aave.plotting.plot_results#

plot_results(results: List[List[Tuple]], n_borrow_agents: int)[source]#

Plot results from the Aave example simulation for a single seed.

Will generate the following plots

  • Health factor for each borrower

  • Collateral assets for each borrower locked in Aave

  • Debt assets for each borrower locked in Aave

  • Collateral assets for the liquidator

  • Debt assets for the liquidator

Plots are saved in results/sim_aave_uniswap

Parameters:
  • results (list[list[tuple]]) – List of results

  • n_borrow_agents (int) – Number of borrow agents in the sim