Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
get_backtest throws NoSuchAlgorithm exception

Hi,

Please, help!

Is it just me or get_backtest is broken?
It throws exception if I call it with valid backtest id. I tried 3 different backtest ids from different algos.

Here is a traceback:

In [4]:

get_backtest('568e9d3fcd43b6117666a664')
Share

0% ETA: --:--:--| |

NoSuchAlgorithm Traceback (most recent call last)
in ()
----> 1 get_backtest('568e9d3fcd43b6117666a664')

/home/qexec/src/qexec_repo/qexec/research/api.py in get_backtest(backtest_id) 260 return BacktestResult(client.get_sqlbacktest(backtest_id),
261 progress_bar,
--> 262 backtest_id)
263
264

/home/qexec/src/qexec_repo/qexec/research/results.py in init(self, result_iterator, progress_bar, algo_id) 441 saw_a_perf_packet = False
442 progress_bar.start()
--> 443 for msg in result_iterator:
444 prefix, payload = msg['prefix'], msg['payload']
445

/home/qexec/src/qexec_repo/qexec/research/web/client.pyc in get_sqlbacktest(self, backtest_id) 351 Returns a generator of perf messages for the backtest.
352 """
--> 353 resp = self._make_get_sqlbacktest_request(backtest_id)
354 with closing(resp):
355 for msg in resp.iter_lines():

/home/qexec/src/qexec_repo/qexec/research/web/client.pyc in make_get_sqlbacktest_request(self, backtest_id) 341 # TODO: Should this just plug into the handle_json_errors machinery?
342 if resp.status
code == 403:
--> 343 raise NoSuchAlgorithm(backtest_id)
344
345 return resp

NoSuchAlgorithm: Algorithm with id '568e9d3fcd43b6117666a664' was not found.