- Many a times the code doesn't execute. I get an error - "
Failed to start backtest, please try again."
This significantly slows down working on Blueshift.
I have seen this problem earlier also. Happens off and on.
Any plans of fixing this for good.
2. Import of some python liberaries fails.
Seen this problem with matplot and seaborn.
3. python display() method also doesn't work.
Thanks for the points you raised. The first point is very annoying indeed. It happens becuase of some issues with our current infra and this is slated to get fixed in our Q3 release (ETA end of August/ early Sep). In most cases, trying again should fix this.
On point 2, see the allowed packages that you can import. We have a whiltelist to ensure platform security as well as relevance. The code you run on Blueshift has no access to a graphical device/ terminal and cannot output graphs or plots - the only things you can output are print to stdout which you see the logs tab. Matplotlib or seaborn are irrelavnt for the current version. Point 3 is also similar. The Ipython display is irrelevant. IPython is an environment, you should not assume you are running your strategy in IPython environment. The only valid assumption is it will support the standard Python interface (the language, the standard modules and the built-ins) and the whitelisted packages.