Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jbbasics opened this issue Dec 10, 2017 · 0 comments
Open

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

jbbasics opened this issue Dec 10, 2017 · 0 comments

Comments

@jbbasics
Copy link

jbbasics commented Dec 10, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant