- visualise_benchmark(name=None, portfolio_statistics=None, all_cash=None, buy_and_hold_asset_name=None, buy_and_hold_price_series=None, height=800, start_at=None, end_at=None)#
Visualise strategy performance against benchmarks.
Live or backtested strategies
Right axis is portfolio value
buy_and_hold – Visualise holding all_cash amount in the asset, bought at the start. This is basically price * all_cash.
height – Chart height in pixels
- Return type