binance / binance-futures-connector-java

MIT License
111 stars 61 forks source link

Parameter symbol isn't mandatory for openOrders request #6

Closed devslm closed 1 year ago

devslm commented 1 year ago

According to the doc https://binance-docs.github.io/apidocs/futures/en/#current-all-open-orders-user_data the parameter symbol isn't required but the code does a check for it and returns an error if it is not present. The method: currentAllOpenOrders(LinkedHashMap<String, Object> parameters).

From the doc: If the symbol is not sent, orders for all symbols will be returned in an array.

jonte-z commented 1 year ago

Hi thanks for bringing this to our attention. This will be fixed very shortly in the upcoming release.

jonte-z commented 1 year ago

This is now fixed in the latest version: https://github.com/binance/binance-futures-connector-java/releases/tag/v3.0.1