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

how to perform checksum if number of levels is less than 25 #250

Open
1 task done
caoyang1024 opened this issue Sep 26, 2024 · 0 comments
Open
1 task done

how to perform checksum if number of levels is less than 25 #250

caoyang1024 opened this issue Sep 26, 2024 · 0 comments

Comments

@caoyang1024
Copy link

caoyang1024 commented Sep 26, 2024

Issue type

  • bug

Brief description

according to docs,

The Websocket V2 Books and Raw Books support the option to request that checksums be sent through the WebSocket connection. The checksum is a CRC32 value which covers the first 25 bids and asks. By calculating your own checksum and comparing it to the provided value, you can verify that your order book data is correct and up to date.

but when count is 0, and level is deleted, how can i still perform the checksum calculation?

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

No branches or pull requests

1 participant