@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.
Latest posts made by itsmi
-
RE: Anyone use backtrader to do live trading on Bitcoin exchange?
-
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!
-
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!