Noob question on plotting
Sorry for the basic question but I cant seem to figure this out.
When I use cerebro.plot it plots just fine but it does so before my output shows the results of the backtest.
How do i make it so that the chart populates after the output of the script is complete?
That's due to the broker EOL buffering of Windows.
If you are not running under
IPythonor similar (which hijack several things like
stdoutwithout warning) environments, you can do the following
and each line of output will be flushed immediately.
You are a life saver. Thank you!