Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    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.

    General Code/Help
    2
    3
    671
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      raf last edited by raf

      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.

      1 Reply Last reply Reply Quote 0
      • P
        Paska Houso last edited by

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

        1 Reply Last reply Reply Quote 0
        • R
          raf last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors