Backtrader Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. itsmi
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
    I
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    itsmi

    @itsmi

    1
    Reputation
    51
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    itsmi Unfollow Follow

    Latest posts made by itsmi

    • RE: Anyone use backtrader to do live trading on Bitcoin exchange?

      @mariano-bengeldorf: It means that there is not enough (buy/sell) data in your 'firstStrat.analyzers.ta.get_analysis()' to do the analysis/statstics on.

      posted in General Discussion
      I
      itsmi
    • RE: cerebro.plot() does not work with Anaconda / IPython

      Thanks for the explanation. cerebro.plot(iplot=False) alongside changing the graphics backend in Spyder (Tools/Preferences/IPython Console/Graphics) now allows me to plot it via the IPython console.

      //edit: When I select "inline", it seems like it worked once, but now the figure window freezes. When I select "Automatic" or anything else, I get the error message "ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'qt5' is currently running". Any solution to this?

      //edit2: The freeze can be delayed by adding plt.pause(10) after cerebro.plot(iplot=False). In that case, i can at least see and 'use' the figure. I would still be happy about comments on it. Thanks!

      posted in General Code/Help
      I
      itsmi
    • cerebro.plot() does not work with Anaconda / IPython

      It appears that the cerebro.plot() command only works in Jupyter, but not in IPython (similarly here). I get the following error:
      <IPython.core.display.Javascript object>
      <IPython.core.display.HTML object>

      Any suggestions on how to overcome the issue? Thanks!

      posted in General Code/Help
      I
      itsmi