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/

    cerebro.plot(style='candlestick') question

    General Discussion
    2
    2
    1869
    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.
    • I
      Ilan Seeder last edited by

      Hello,
      I have been using this wonderful tool for a while now.
      Due to cerebro.plot()'s limited features, I am now trying other plotting libraries.
      I'm plotting large data - a year's worth of 2-minute bars.
      cerebro.plot(style='candlestick') handles it like a champ - the plot is almost instantaneous and the graph navigation is quick.
      However, trying to do this using using Matplotlib.pyplot's candlestick_ohlc takes FOREVER to plot, and after that, navigating the graph is painstakingly slow. regular plots of this data are fast, it's specifically the ohlc that causes problems.
      I wanted to ask how can I achieve cerebro.plot(style='candlestick') performance in Matplotlib.pyplot or a similar plotting library.
      Thanks!

      1 Reply Last reply Reply Quote 0
      • B
        backtrader administrators last edited by

        No idea. matplotlib is used.

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