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

FIDAUSDT Coin #6

Closed
easyguyme opened this issue Sep 30, 2021 · 0 comments · Fixed by #7
Closed

FIDAUSDT Coin #6

easyguyme opened this issue Sep 30, 2021 · 0 comments · Fixed by #7
Assignees
Labels
bug Something isn't working

Comments

@easyguyme
Copy link

I got the error below

Traceback (most recent call last): File "main.py", line 59, in <module> bot.save() File "/root/BinanceBroker/bot/bot.py", line 297, in save Util.dump_json(self.orders_file, self.orders) File "/root/BinanceBroker/util/util.py", line 73, in dump_json json.dump(obj, f, indent=4) File "/usr/lib/python3.6/json/__init__.py", line 179, in dump for chunk in iterable: File "/usr/lib/python3.6/json/encoder.py", line 430, in _iterencode yield from _iterencode_dict(o, _current_indent_level) File "/usr/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict yield from chunks File "/usr/lib/python3.6/json/encoder.py", line 437, in _iterencode o = _default(o) File "/usr/lib/python3.6/json/encoder.py", line 180, in default o.__class__.__name__) TypeError: Object of type 'Order' is not JSON serializable

@cdalton713 cdalton713 self-assigned this Sep 30, 2021
@cdalton713 cdalton713 mentioned this issue Sep 30, 2021
@cdalton713 cdalton713 linked a pull request Sep 30, 2021 that will close this issue
@cdalton713 cdalton713 added the bug Something isn't working label Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants