Skip to content

bt.plot() not showing most recent trade #1274

Closed
@dr-arrgghh

Description

@dr-arrgghh

Expected behavior

Expected all opened position to be plotted on bt.plot.

Code sample

Actual behavior

Image

Image

Log file shows that although the logic opened a short position, it is not being shown in bt.plot

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

No response

Software versions

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis is not a (valid) bug report

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions