Traceback (most recent call last):


 "catalyst_main.py", line 471, in <module>

data_frequency='minute',


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

stats_output=stats_output


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

overwrite_sim_params=False,


 "/opt/app-root/lib/python3.6/site-packages/catalyst/exchange/exchange_algorithm.py", line 1052, in run

data, overwrite_sim_params


 "/opt/app-root/lib/python3.6/site-packages/catalyst/exchange/exchange_algorithm.py", line 360, in run

data, overwrite_sim_params


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

for perf in self.get_generator():


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

for capital_change_packet in every_bar(dt):


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

handle_data(algo, current_data, dt_to_use)


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

dt,


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

self.callback(context, data)


 "/opt/app-root/lib/python3.6/site-packages/catalyst/exchange/exchange_algorithm.py", line 906, in handle_data

self._handle_data(self, data)


 "catalyst_main.py", line 289, in handle_data

order_id = order(asset, 0.95*(-1.)*amount, limit_price=limit_price) # to keep cash non-negative


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

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


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

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


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

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


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

if amount == 0:


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

args=(asset, amount, style),


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

return action(*args, **kwargs)


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

asset, amount, style


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

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


 "/opt/app-root/lib/python3.6/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 940, in create_order

before_order_dt, asset, amount, is_buy, style, prec_amount


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

return action(*args, **kwargs)


 "/opt/app-root/lib/python3.6/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 866, in _handle_request_timeout

dt_before=dt_before, symbol=symbol)


 "/opt/app-root/lib/python3.6/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 817, in _fetch_missing_order

missing_order = self._check_order_found(previous_orders)


 "/opt/app-root/lib/python3.6/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 785, in _check_order_found

[x.id for x in new_orders])


 "/opt/app-root/lib/python3.6/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 785, in <listcomp>

[x.id for x in new_orders])
AttributeError: 'dict' object has no attribute 'id'

>Traceback (most recent call last):


 "baseline1_train.py", line 161, in <module>

main();


 "baseline1_train.py", line 103, in main

max_length = 100000);


 "/home/xieyi/.local/lib/python3.7/site-packages/gin/config.py", line 1032, in wrapper

utils.augment_exception_message_and_reraise(e, err_str)


 "/home/xieyi/.local/lib/python3.7/site-packages/gin/utils.py", line 49, in augment_exception_message_and_reraise

six.raise_from(proxy.with_traceback(exception.__traceback__), None)


 "<string>", line 3, in raise_from


 "/home/xieyi/.local/lib/python3.7/site-packages/gin/config.py", line 1009, in wrapper

return fn(*new_args, **new_kwargs)


 "/home/xieyi/.local/lib/python3.7/site-packages/tf_agents/replay_buffers/tf_uniform_replay_buffer.py", line 151, in __init__

self._data_table = table_fn(self._data_spec, self._capacity_value)


 "/home/xieyi/.local/lib/python3.7/site-packages/tf_agents/replay_buffers/table.py", line 55, in __init__

self._tensor_spec)


 "/home/xieyi/.local/lib/python3.7/site-packages/tensorflow_core/python/util/nest.py", line 547, in map_structure

structure[0], [func(*x) for x in entries],


 "/home/xieyi/.local/lib/python3.7/site-packages/tensorflow_core/python/util/nest.py", line 547, in <listcomp>

structure[0], [func(*x) for x in entries],


 "/home/xieyi/.local/lib/python3.7/site-packages/tf_agents/replay_buffers/table.py", line 52, in _create_unique_slot_name

return tf.compat.v1.get_default_graph().unique_name(spec.name or 'slot')
AttributeError: 'NoneType' object has no attribute 'name'
