poloniex-api-java
poloniex-api-java copied to clipboard
returnTradeHistory error parsing date
When I try call returnTradeHistory there was issue with parsing date. Java exceotion: java.time.format.DateTimeParseException: Text '2021-10-23 19:32:05.000000' could not be parsed, unparsed text found at index 19
Calss PoloniexExchangeService line: 264 tradeHistory = mapper.mapTradeHistory(tradeHistoryData);
It looks like Poloniex changed their trade history date time format from yyyy-MM-dd HH:mm:ss to yyyy-MM-dd HH:mm:ss.n. The problem is this change is not universal, but seemingly only for the trade history date.
I'll have a fix shortly.
@KEEPEE can you pull down branch defect/38/returnTradeHistory-error-parsing-date and see if it resolves your issue?