You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.
I'm submitting a ...
[ X] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
Went to import from binance, set my date range clicked import.
Progress started from negative. And never imported to the date (current time) as requested.
Expected result (what you hoped would happen)
Import imports to when I say
Actual result (unexpected outcome)
Doesn't import the correct amount of data.
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
I discovered that in core/markets/import.js the dates need to be converted to UTC. This fixed the issue for me.. the old version had .utc() around the to and from dates. Not sure why this was removed?
The text was updated successfully, but these errors were encountered:
never imported to the date (current time) as requested.
All times are supposed to be in UTC, so if you are not in a timezone equal to UTC the time you fill in there is not what Gekko will import.
Progress started from negative.
Yes it's a timezone issue. I think the bug was introduced here: #2263 (comment)@mark-sch maybe you can weigh in? EDIT: That only seems to impact kraken importing, while this bug is preset everywhere. Might not be that PR - but I'm sure something changed along the lines where we dropped an UTC conversion somewhere.
I'm submitting a ...
[ X] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
Went to import from binance, set my date range clicked import.
Progress started from negative. And never imported to the date (current time) as requested.
Expected result (what you hoped would happen)
Import imports to when I say
Actual result (unexpected outcome)
Doesn't import the correct amount of data.
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
I discovered that in core/markets/import.js the dates need to be converted to UTC. This fixed the issue for me.. the old version had .utc() around the to and from dates. Not sure why this was removed?
The text was updated successfully, but these errors were encountered: