backtesting.py icon indicating copy to clipboard operation
backtesting.py copied to clipboard

Issue plotting position

Open Chidifinance opened this issue 1 year ago • 0 comments

Expected behavior

I get this error when trying to plot the data. No args or kwargs passed to backtest.plot

AttributeError: 'Document' object has no attribute 'js_on_event'"

Code sample

bk.plot(open_browser = False)

Actual behavior

When I ran the code above the code threw an error

AttributeError: 'Document' object has no attribute 'js_on_event'"

Additional info, steps to reproduce, full crash traceback, screenshots

No response

Software versions

  • backtesting.__version__:
  • pandas.__version__:
  • numpy.__version__:
  • bokeh.__version__:
  • OS:

Chidifinance avatar Jun 10 '25 13:06 Chidifinance