Deleting ingested data


Hi there,

I’m trying to delete a lot of ingested data from binance exchange using
catalyst clean -x binance

however I get back the following, am I doing something wrong?

(catalyst) a@a:~/catalyst$ catalyst clean -x binance
Traceback (most recent call last):
File “/home/a/catalyst/catalyst/bin/catalyst”, line 11, in
File “/home/a/catalyst/catalyst/local/lib/python2.7/site-packages/click/”, line 722, in call
return self.main(*args, **kwargs)
File “/home/a/catalyst/catalyst/local/lib/python2.7/site-packages/click/”, line 697, in main
rv = self.invoke(ctx)
File “/home/a/catalyst/catalyst/local/lib/python2.7/site-packages/click/”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/a/catalyst/catalyst/local/lib/python2.7/site-packages/click/”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/a/catalyst/catalyst/local/lib/python2.7/site-packages/click/”, line 535, in invoke
return callback(*args, **kwargs)
TypeError: clean() got an unexpected keyword argument ‘exchange_name’


Hi @Papan,

For cleaning the ingested data you need to use the clean-exchange command as follows: catalyst clean-exchange -x binance



Ah right, great now it works!

Thanks Lena