java-binance-api
java-binance-api copied to clipboard
Cannot deserialize value of type `java.lang.Long` from String "9534.95000000"
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