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

Differentiate Open & Closed PARTIALLY_FILLED Orders #271

Closed yaniferhaoui closed 4 years ago

yaniferhaoui commented 4 years ago

Hello,

How to differentiate Open PARTIALLY_FILLED Orders and Closed PARTIALLY_FILLED Orders ?

Thanks for your help :)

yaniferhaoui commented 4 years ago

Sorry, I didn't understand that in the Binance API, a Partially Filled and Canceled Order is displayed as status = "Canceled" with an executed quantity higher or Zero.