Open rezazadeh93 opened 3 years ago
if this pull request helped you, I'll be pleased to give me your feedback.
Using the code I get an error when I don't have any deposits in the result. I get the following result from binance: []
, but in my java code I get this error:
com.binance.api.client.exception.BinanceApiException: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type com.binance.api.client.domain.account.DepositHistory from Array value (token JsonToken.START_ARRAY)
at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 1]
What can I change to prevent casting to DepositHistory
when there is no result?
@PanderBoy18 pushed new commits, I hope the bug is fixed
Yesss!!!! This fixed the bug. Great work!
Great! Works for me too! Thanks!
I continued on this because I ran into the issue of having 0
as default instead of null
in the requests. @rezazadeh93 see https://github.com/rezazadeh93/binance-java-api/pull/2.
Is anyone maintaining this repository? It seems that old pull requests are never merged.
Is anyone maintaining this repository? It seems that old pull requests are never merged.
See https://github.com/binance-exchange/binance-java-api/issues/421
Updated WAPI endpoints to SAPI endpoints
Added all arguments that are supported by binance to these methods: