The dojo.vis module is still in beta, and currently only works with UniV3Env environments with a single pool.

Dojo Simulation Dashboard

Dojo provides an interactive simulation dashboard to visualize your runs.

You can launch the simulation dashboard with a separate Python script like this:
from dojo.vis.dashboard import run_app
run_app(8051, mode="prod")

Note that in this case the dashboard has been launched on port 8051. If you run multiple simulations at the same time, each dashboard must run on its own port.

Now, when you use one of our runners, specify the same port:

sim_blocks, sim_rewards = backtest_run(env, [demo_policy], port=8051)


Here's a screenshot of the dashboard running in the browser: