Traceback (most recent call last):


 "open_pos.py", line 32, in <module>

quote_currency='usd'


 "catalyst3/lib/python3.6/site-packages/catalyst/utils/run_algo.py", line 596, in run_algorithm

stats_output=stats_output


 "catalyst3/lib/python3.6/site-packages/catalyst/utils/run_algo.py", line 358, in _run

overwrite_sim_params=False,


 "/catalyst3/lib/python3.6/site-packages/catalyst/exchange/exchange_algorithm.py", line 1051, in run

data, overwrite_sim_params


 "/catalyst3/lib/python3.6/site-packages/catalyst/exchange/exchange_algorithm.py", line 359, in run

data, overwrite_sim_params


 "/catalyst3/lib/python3.6/site-packages/catalyst/algorithm.py", line 725, in run

for perf in self.get_generator():


 "/catalyst3/lib/python3.6/site-packages/catalyst/gens/tradesimulation.py", line 224, in transform

for capital_change_packet in every_bar(dt):


 "/catalyst3/lib/python3.6/site-packages/catalyst/gens/tradesimulation.py", line 137, in every_bar

handle_data(algo, current_data, dt_to_use)


 "/catalyst3/lib/python3.6/site-packages/catalyst/utils/events.py", line 216, in handle_data

dt,


 "/catalyst3/lib/python3.6/site-packages/catalyst/utils/events.py", line 235, in handle_data

self.callback(context, data)


 "/catalyst3/lib/python3.6/site-packages/catalyst/exchange/exchange_algorithm.py", line 905, in handle_data

self._handle_data(self, data)


 "/open_pos.py", line 16, in handle_data

order_target_value(symbol('btc_usd'), 100.0)


 "/catalyst3/lib/python3.6/site-packages/catalyst/utils/api_support.py", line 57, in wrapped

return getattr(algo_instance, f.__name__)(*args, **kwargs)


 "/catalyst3/lib/python3.6/site-packages/catalyst/utils/api_support.py", line 126, in wrapped_method

return method(self, *args, **kwargs)


 "/catalyst3/lib/python3.6/site-packages/catalyst/algorithm.py", line 1972, in order_target_value

style=style)


 "/catalyst3/lib/python3.6/site-packages/catalyst/utils/api_support.py", line 126, in wrapped_method

return method(self, *args, **kwargs)


 "/catalyst3/lib/python3.6/site-packages/catalyst/algorithm.py", line 1469, in order

return self.blotter.order(asset, amount, style)


 "/catalyst3/lib/python3.6/site-packages/catalyst/exchange/exchange_blotter.py", line 170, in order

if amount == 0:


 "/catalyst3/lib/python3.6/site-packages/catalyst/exchange/exchange_blotter.py", line 186, in order

args=(asset, amount, style),


 "/catalyst3/lib/python3.6/site-packages/redo/__init__.py", line 162, in retry

return action(*args, **kwargs)


 "/catalyst3/lib/python3.6/site-packages/catalyst/exchange/exchange_blotter.py", line 164, in exchange_order

asset, amount, style


 "/catalyst3/lib/python3.6/site-packages/catalyst/exchange/exchange.py", line 855, in order

return self.create_order(asset, amount, is_buy, style)


 "/catalyst3/lib/python3.6/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 902, in create_order

prec_amount = self.api.amount_to_precision(symbol, adj_amount)


 "/catalyst3/lib/python3.6/site-packages/ccxt/bitfinex.py", line 346, in amount_to_precision

return self.decimal_to_precision(amount, TRUNCATE, self.markets[symbol]['precision']['amount'], self.precisionMode)
AttributeError: 'bitfinex' object has no attribute 'decimal_to_precision'

Traceback (most recent call last):


 "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap

self.run()


 "/usr/lib/python2.7/site-packages/salt/utils/process.py", line 765, in _run

return self._original_run()


 "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run

self._target(*self._args, **self._kwargs)


 "/usr/lib/python2.7/site-packages/salt/client/ssh/__init__.py", line 521, in handle_routine

**target)


 "/usr/lib/python2.7/site-packages/salt/client/ssh/__init__.py", line 925, in __init__

self.shell = salt.client.ssh.shell.gen_shell(opts, **args)


 "/usr/lib/python2.7/site-packages/salt/client/ssh/shell.py", line 64, in gen_shell

shell = Shell(opts, **kwargs)


 "/usr/lib/python2.7/site-packages/salt/client/ssh/shell.py", line 92, in __init__

self.host = host.strip('[]')
AttributeError: 'NoneType' object has no attribute 'strip'
