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/

    Facing issue with LineBuffer

    General Discussion
    3
    4
    36
    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.
    • X
      xxx last edited by

      Hi Everyone,

      I am in confusion because in the init function the self.datas[0].close[0] is giving output of the last element of linebuffer i.e the bottom row of excel sheet.

      Capture2.PNG
      Top of Excel Sheet

      Capture2.PNG

      Bottom of Excell Sheet

      IndexUpdate.png

      But when i run the strategy, the next function will iterate from the top of the excel sheet.

      R run-out 2 Replies Last reply Reply Quote 0
      • R
        rajanprabu @xxx last edited by

        @xxx

        Have a look at the Platform Concepts. Init has a different purpose. One can print lines in using next() section.

        1 Reply Last reply Reply Quote 2
        • run-out
          run-out @xxx last edited by

          @xxx At the top of every page are instructions regarding how to put in your information into your question. Please do not use image, they are hard to work with. Please use the following:

          For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
          
          1 Reply Last reply Reply Quote 1
          • X
            xxx last edited by

            Thanks @rajanprabu and sorry @run-out i will be conscious in this in future.

            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(); }); }