Script exits with an error
vmajor opened this issue · 0 comments
vmajor commented
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'