Closed dorak88783 closed 3 years ago
The function account.cancel_all_open_orders aims to return Vec<Order>, but this doesn't work:
account.cancel_all_open_orders
Vec<Order>
Error: Error(Json(Error("missing field `stopPrice`", line: 1, column: 313)), State { next_error: None, backtrace: IntenalBacktrace })
It should be OrderCanceled.
From the API https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md#cancel-all-open-orders-on-a-symbol-trade I see that the response on a canceled OCO is even more complicated; I didn't test this but I think this is still broken.
The function
account.cancel_all_open_orders
aims to returnVec<Order>
, but this doesn't work:It should be OrderCanceled.
From the API https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md#cancel-all-open-orders-on-a-symbol-trade I see that the response on a canceled OCO is even more complicated; I didn't test this but I think this is still broken.