Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

returnTradeHistory error parsing date #38

Open
KEEPEE opened this issue Dec 19, 2021 · 2 comments · Fixed by #39
Open

returnTradeHistory error parsing date #38

KEEPEE opened this issue Dec 19, 2021 · 2 comments · Fixed by #39
Assignees

Comments

@KEEPEE
Copy link

KEEPEE commented Dec 19, 2021

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);

@TheCookieLab
Copy link
Owner

TheCookieLab commented Dec 19, 2021

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.

@TheCookieLab TheCookieLab self-assigned this Dec 19, 2021
@TheCookieLab TheCookieLab linked a pull request Dec 19, 2021 that will close this issue
@TheCookieLab
Copy link
Owner

@KEEPEE can you pull down branch defect/38/returnTradeHistory-error-parsing-date and see if it resolves your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants