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

TypeError: argument of type 'NoneType' is not iterable #138

Closed
sirkbitt opened this issue May 23, 2018 · 3 comments
Closed

TypeError: argument of type 'NoneType' is not iterable #138

sirkbitt opened this issue May 23, 2018 · 3 comments

Comments

@sirkbitt
Copy link

sirkbitt commented May 23, 2018

Expected Behavior

The bot could be able to initalize itself using relative orders strategy.
The working of this strategy has been updated 5-8 hours ago.

Actual Behavior

Here are python errors:
Traceback (most recent call last):
File "dexbot/worker.py", line 75, in init_workers
File "dexbot/strategies/relative_orders.py", line 38, in init
File "dexbot/strategies/relative_orders.py", line 127, in check_orders
File "dexbot/basestrategy.py", line 207, in get_order
TypeError: argument of type 'NoneType' is not iterable
So it seems to be an issue concerns NoneType objects related to kwargs.

Steps to Reproduce the Problem

  1. Choose Relative Orders Strategy
  2. Set relative orders size and spread
  3. Save and push the green button
    The same issue afflicts DEXBot-cli as well.

Specifications

  • Version: 0.2.0 (both GUI and command line cli)
  • OS: MacOS X
@ihaywood3
Copy link

can you try again with 0.2.1?

@mikakoi
Copy link
Collaborator

mikakoi commented May 24, 2018

As Ian said, this should have been fixed in 0.2.1. We plan to make a release later this week to address this but for now you can just get 0.2.1 with git

@mikakoi
Copy link
Collaborator

mikakoi commented May 25, 2018

Fix for this is now in the latest release.

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

No branches or pull requests

4 participants