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/

    Issues in plotting

    General Code/Help
    1
    2
    44
    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.
    • Dhruv Aggarwal
      Dhruv Aggarwal last edited by

      I am getting very hard time plotting things in backtrader.

      Just want to confirm if i comment out the notify_trade, notify_order and next and try to plot the thing hangs. When i adjust cerebro(stdstats= False) it runs. So can someone clear that it's mandatory to have those 3 functions in order for plotting.

      1 Reply Last reply Reply Quote 0
      • Dhruv Aggarwal
        Dhruv Aggarwal last edited by

        Observed it happens if there is no buy or sell orders generated. Or if only buy orders are generated and no sell order is generated.

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