stakemachine icon indicating copy to clipboard operation
stakemachine copied to clipboard

AttributeError: 'NoneType' object has no attribute 'items'

Open jbbasics opened this issue 7 years ago • 0 comments

When running stakemachine I get the following error: Traceback (most recent call last): File "/home/jb/.local/bin/stakemachine", line 9, in load_entry_point('stakemachine==0.0.6', 'console_scripts', 'stakemachine')() File "/home/jb/.local/lib/python3.5/site-packages/click/core.py", line 722, in call return self.main(*args, **kwargs) File "/home/jb/.local/lib/python3.5/site-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/home/jb/.local/lib/python3.5/site-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/jb/.local/lib/python3.5/site-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/jb/.local/lib/python3.5/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/home/jb/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/home/jb/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/home/jb/.local/lib/python3.5/site-packages/stakemachine-0.0.6-py3.5.egg/stakemachine/ui.py", line 83, in new_func File "/home/jb/.local/lib/python3.5/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/home/jb/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/home/jb/.local/lib/python3.5/site-packages/stakemachine-0.0.6-py3.5.egg/stakemachine/ui.py", line 57, in new_func File "/home/jb/.local/lib/python3.5/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/home/jb/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/home/jb/.local/lib/python3.5/site-packages/stakemachine-0.0.6-py3.5.egg/stakemachine/ui.py", line 75, in new_func File "/home/jb/.local/lib/python3.5/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/home/jb/.local/lib/python3.5/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/home/jb/.local/lib/python3.5/site-packages/stakemachine-0.0.6-py3.5.egg/stakemachine/ui.py", line 45, in new_func File "/home/jb/.local/lib/python3.5/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/home/jb/.local/lib/python3.5/site-packages/stakemachine-0.0.6-py3.5.egg/stakemachine/cli.py", line 51, in run File "/home/jb/.local/lib/python3.5/site-packages/stakemachine-0.0.6-py3.5.egg/stakemachine/bot.py", line 27, in init AttributeError: 'NoneType' object has no attribute 'items'

This is the config: node: "wss://dexnode.net/ws"

bots:

Walls:

module: stakemachine.strategies.walls bot: Walls

market: OPEN.BTC:BTS

account: liquidity3

bundle: True

test: blocks: 10

target:

reference: feed

offsets: buy: 2.5 sell: 2.5

amount: buy: 5.0 sell: 5.0

threshold: 2

I am still new to python/ubuntu and am trying to learn. Also, is there an index for the various bot commands? Thank you.

jbbasics avatar Dec 10 '17 16:12 jbbasics