Whenever I call futuresCancelAll, I always get this:
{ code: 200, msg: 'The operation of cancel all open order is done.' }
...which corresponds to type FuturesCancelAllOpenOrder, but never to the expected array FuturesCancelAllOpenOrder[].
And somehow it doesn't even matter when the operation cancels multiple orders, it is always the same result. Something isn't right there. I would expect an array with multiple entries when multiple orders are cancelled, and with one entry when only one order is cancelled, it is always just one object, and never an array.