Closed benjiqq closed 5 years ago
Can you share the exact response body?
solved the issue. my problem occurred because open_orders returned all orders, including cancelled, not just the open ones
I think adding a cancel function can't hurt
actually its here, but not 100% clear to me at first sight https://docs.delta.exchange/#cancel-order
for batch cancel I get an error
batch_cancel(product_id, orders)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.delta.exchange/orders/batch