Closed fightthepower closed 4 years ago
I think I came across this during development at some point, hope I can reproduce it. Are you running it in a notebook? If you are not, disable live_plot
which doesn't work in the terminal.
Edit: I get segmentation fault as well when using live_plot
in the terminal, will try to improve the current check on if the code is running in a notebook. Unfortunately there is no good way to live-plot in terminal in a non-blocking way, so I suggest you use live_metrics
instead.
It would be possible to simply switch to blocking plotting in terminal - this slows down the backtester significantly though. Would pair it with a warning about performance.
No I am not using a notebook and removing live_plot
solved the problem, Thank you
3721b5948f1b17a5bdf5232dfb625eaa6ccdb7c1 added live plotting from the shell as long as you use live_plot(blocking=True)
. It will be slow, but it will work. When setting live_plot
without blocking
from the shell, a warning will be raised.
I am getting segmentation fault error while running example code in python3.6
This returns