visualise_buy_and_hold#

API documentation for tradeexecutor.visual.benchmark.visualise_buy_and_hold Python function.

visualise_buy_and_hold(buy_and_hold_asset_name, price_series, all_cash, colour='#880000')[source]#

Draw portfolio performance.

Parameters:
  • buy_and_hold_asset_name (str) –

  • price_series (Series) –

  • all_cash (float) –

Return type:

Scatter