Every chart edgekit.vizproduces, rendered in both themes. Toggle light/dark (top-right) and the charts follow. Each is one function call on a backtest's trades or equity — and they compose into the one-call tear_sheet.
The fan is the honest forward picture: bootstrap the daily returns thousands of times and plot the percentile cone. edgekit annotates the terminal 5th / median / 95th outcomes, overlays the realised path, and can append a marginal distribution of where a year of paths lands.
The cone of uncertainty: 5/25/50/75/95 percentile bands with the terminal values annotated.
# bootstrap a year of daily P&L into forward equity pathspaths = account + np.cumsum(rng.choice(daily_pnl, size=(5000, 252)), axis=1)fig = ek.viz.mc_fan(paths, actual=equity, target=account)
Fan + terminal distribution — The same fan with a marginal histogram of terminal outcomes — the professional tear-sheet view.
Terminal P&L distribution — Where a year of paths lands, with the 5th / median / 95th percentiles marked.
✦Reproduce these
All of these are generated by examples/gen_gallery.py from a seeded synthetic backtest — no real strategy involved. Run it to regenerate the whole gallery.