java-binance-api icon indicating copy to clipboard operation
java-binance-api copied to clipboard

Cannot deserialize value of type `java.lang.Long` from String "9534.95000000"

Open thomasnappee opened this issue 5 years ago • 0 comments

Hi !

I got this error when I call BinanceApiRestClient.getCandlestickBars : com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type java.lang.Long from String "9534.95000000": not a valid Long value at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 17] (through reference chain: java.util.ArrayList[0]->com.binance.api.client.domain.market.Candlestick["closeTime"])

It seems that price value is going to closeTime

thomasnappee avatar Jul 29 '19 21:07 thomasnappee