Skip to content

backtest.plot() is not working #1

@rahulmr

Description

@rahulmr

backtest.plot() is not working

I am getting below error.

Traceback (most recent call last):
  File "D:\trading\angel_py\btpy_eg.py", line 85, in <module>
    backtest.plot()
  File "D:\Apps\Scoop\apps\python\current\lib\site-packages\backtesting\backtesting.py", line 1704, in plot
    plot(
  File "D:\Apps\Scoop\apps\python\current\lib\site-packages\backtesting\_plotting.py", line 591, in plot
    _plot_superimposed_ohlc()
  File "D:\Apps\Scoop\apps\python\current\lib\site-packages\backtesting\_plotting.py", line 445, in _plot_superimposed_ohlc
    raise ValueError('Invalid value for `superimpose`: Upsampling not supported.')
ValueError: Invalid value for `superimpose`: Upsampling not supported.
PS D:\trading\angel_py>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions