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

Script exits with an error #7

Open
vmajor opened this issue Jan 4, 2020 · 0 comments
Open

Script exits with an error #7

vmajor opened this issue Jan 4, 2020 · 0 comments

Comments

@vmajor
Copy link

vmajor commented Jan 4, 2020

This is the error output after it placed an order for XBTUSD:

Checking OrderBook...
Sell Side: 574 - Buy Side: 16504
Go Buy !
Balance before: 999980
BUY @ 7310.5
Balance - Step 1 of 2: 999980
0 is not of type 'string'

Failed validating 'type' in schema:
{'description': 'Order ID',
'in': 'formData',
'name': 'orderID',
'required': False,
'type': 'string'}

On instance:
0
This is the end !
Traceback (most recent call last):
File "sybrain.py.bak", line 367, in
bmex()
File "sybrain.py.bak", line 276, in bmex
while ws_bmex.ws.sock.connected:
AttributeError: 'NoneType' object has no attribute 'connected'

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