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/

    IQFeed -> InfluxDB

    General Code/Help
    2
    3
    707
    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.
    • B
      blonc last edited by

      Re: InfluxDB and Backtrader

      a script sitting with in the GH pull request:

      the script on GH

      it request for the date to be : YYYY[-MM-DDTHH:MM:SS]

      does that mean literally: 2018[-01-05T09:00:00]

      when I do this, i get the following output error, but cant seem to successfully debug it.

      File "influx.py", line 45, in init
      elif len(args.fromdate) == 4 or len(args.fromdate == 10)
      
      B 1 Reply Last reply Reply Quote 0
      • B
        backtrader administrators @blonc last edited by

        @blonc said in IQFeed -> InfluxDB:

        YYYY[-MM-DDTHH:MM:SS]

        That's standard notation to indicate: optional

        Everything which is inside the square brackets can be left out.

        1 Reply Last reply Reply Quote 0
        • B
          blonc last edited by

          for anyone who happens to run into this into the future. this script has to be ran in Python 3.5 or > due to the var typing in the functions. Or they need to be removed, it functions fine with out them.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Copyright © 2016, 2017, 2018 NodeBB Forums | Contributors
          $(document).ready(function () { app.coldLoad(); }); }