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

[BUG] Incorrect column order for historical market values #34

Closed
JaviZurdo opened this issue Mar 23, 2021 · 1 comment
Closed

[BUG] Incorrect column order for historical market values #34

JaviZurdo opened this issue Mar 23, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@JaviZurdo
Copy link

The returned columns from function parse(...) in module tasks/do-historical-data.gs are in the wrong order

If the headers are
const header = ["Open Time", "Open", "High", "Low", "Close", "Close Time", "Volume", "Trades"];

Then the items in the row should change from
new Date(parseInt(d[5])),
parseFloat(d[6]),
to
new Date(parseInt(d[6])),
parseFloat(d[5]),

or change the order of the headers....

@diegomanuel
Copy link
Owner

Hey @JaviZurdo thanks for the report!

You'r right and the fix was pushed to master branch, it'll be available in the next release.
Thanks again, cheers! 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants