binance-exchange / binance-java-api

binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
MIT License
831 stars 628 forks source link

Cancel sell order #377

Closed Najeisleem closed 3 years ago

Najeisleem commented 3 years ago

i got error when trying to cancel sell order :

com.binance.api.client.exception.BinanceApiException: Unknown order list sent. client.cancelOrder(new CancelOrderRequest("BTCUSDT", order.getOrderListId()));

i tryed order.getOrderListId() and order.getOrderId() and order.getClientOrderId