Deleting ingested data


#1

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
sys.exit(main())
File “/home/a/catalyst/catalyst/local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/a/catalyst/catalyst/local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/a/catalyst/catalyst/local/lib/python2.7/site-packages/click/core.py”, 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/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/a/catalyst/catalyst/local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
TypeError: clean() got an unexpected keyword argument ‘exchange_name’


#2

Hi @Papan,

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

Lena


#3

Ah right, great now it works!

Thanks Lena