Skip to content

Script exits with an error #7

@vmajor

Description

@vmajor

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions