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

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==1.9.59.122). 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 datacache.py I believe that:

    impor os should be import os

    Also, at line 80 of datacache.py 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.