You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "PyLOB/orderbook.py", line 211, in modifyOrder
self.bids.updateOrder(orderUpdate)
File "PyLOB/ordertree.py", line 66, in updateOrder
self.insertOrder(orderUpdate)
File "PyLOB/ordertree.py", line 48, in insertOrder
self.removeOrderById(quote['idNum'])
File "PyLOB/ordertree.py", line 76, in removeOrderById
order.orderList.removeOrder(order)
File "PyLOB/orderlist.py", line 50, in removeOrder
if len(self) == 0:
ValueError: __len__() should return >= 0
The text was updated successfully, but these errors were encountered:
The
modifyOrder()
seems to have a bug when modifyingprice
. Replicate with below commands:Result:
The text was updated successfully, but these errors were encountered: