For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

Possible Issue.

  • Hi guys,

    I'm writing here just because I want to point out a small typo in the code of the current backtrader version on github (backtrader== Unfortunately the repo has not the Issue section available and I'm sorry if I'm posting it in the wrong place.

    The typo is at line 58 of I believe that:

    impor os should be import os

    Also, at line 80 of I believe that:

    path os.path.join(path, self.p.appname) should be path = os.path.join(path, self.p.appname)

    Thanks again to Daniel for his amazing backtesting tool.

  • I can see what you see, but what's the actual issue?

  • Oh, nothing in particular - I retrieved backtrader via git and I got errors about the aforementioned lines during the conversion to .pyc files during the installation process.

    I supposed that maybe someone else encountering the same problem might benefit from the corrections.

Log in to reply

Looks like your connection to Backtrader Community was lost, please wait while we try to reconnect.