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

Fix incorrect order of candle sticks #765

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Fix incorrect order of candle sticks #765

merged 1 commit into from
Dec 5, 2024

Conversation

ruixhuang
Copy link
Contributor

The batch candle update payload is already in ascending order (unlike the the initial candle payload which is in descending order), so we shouldn't do reverse() for updates. The batch update only contains 1 or 2 items, so adding a sort() just to be safe here.

@ruixhuang ruixhuang marked this pull request as ready for review December 5, 2024 06:07
@ruixhuang ruixhuang merged commit 194ebe5 into main Dec 5, 2024
3 checks passed
@ruixhuang ruixhuang deleted the feature/candle_fix branch December 5, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants