verbs_examples.uniswap.plotting.plot_results#

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

Plot results from the Uniswap example simulation for a single seed

Will generate the following plots:

  • Uniswap price of token0 in terms of token1

  • External market price of token0 in terms of token1

Plots are saved in results/sim_uniswap_gbm

Parameters:

results (list[list[tuple[int, int]]]) – List of records