Releases: gateio/gateapi-java
Releases · gateio/gateapi-java
6.21.2 release
5.15.3 Release
- Add a new
GateApiExceptionwhich helps retrieving error label(if the error has one) - Fix incorrect
ordertype in list personal futures trades
5.15.2 Release
5.15.2 includes support with all new APIs added since 4.14.0, along with some breaking changes:
okhttpis upgraded tookhttp3- The authentication process is rewritten. For how to initialize your APIv4 key and secret, refer to any private API endpoint in API documentation
- Optional parameter passing is changed. In versions <= 4.14.0, all optional parameters are needed even if you don't want to set them.
Since version 5.15.2, parameters builder is added so that optional parameters can be skipped. For example:
// version <= 4.14.0
futuresApi.listFuturesCandlesticks(settle, contract, null, null, null, null);
// version >= 5.15.2
// note the usage of .execute()
futuresApi.listFuturesCandlesticks(settle, contract).limit(10).execute();