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/

    Stop plotting trades on resampled data

    General Code/Help
    2
    4
    57
    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.
    • C
      CooleRnax last edited by

      How can I stop plotting trades on resampled data?
      Resampled data plotting is turned off, but trades are still there.

      data_resample.plotinfo.plot = False
      
      1 Reply Last reply Reply Quote 0
      • A
        ab_trader last edited by

        It should be no separate diagram shown for data feed if the plotting turned off. Where in this case your trades are plotted?

        1 Reply Last reply Reply Quote 0
        • C
          CooleRnax last edited by

          77b32bbf-11a3-4055-be02-3bb660196c86-image.png
          I mean trades at the top

          1 Reply Last reply Reply Quote 0
          • A
            ab_trader last edited by

            These trades are shown by Trades observer. Remove it from the code.

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