Skip to content

Improve zero size trade logging for Binance Futures #2588

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

Merged
merged 1 commit into from
May 2, 2025

Conversation

bartolootrit
Copy link
Contributor

Pull Request

Binance sends empty trade tick messages from time to time. This leads to error messages and noise in logs: Error handling trade tick message b'{"stream":"xrpusdt@trade","data":{"e":"trade","E":1746194730699,"T":1746194730699,"s":"XRPUSDT","t":2332526925,"p":"0","q":"0","X":"NA","m":false}}', 'size' not a positive integer, was 0

Such messages should have DEBUG level in logs.

Type of change

  • New feature (non-breaking change which adds functionality)

How has this change been tested?

Manually

@cjdsellers cjdsellers changed the title Binance Futures empty trade tick error noise Improve zero size trade tick logging for Binance Futures May 2, 2025
@cjdsellers cjdsellers changed the title Improve zero size trade tick logging for Binance Futures Improve zero size trade logging for Binance Futures May 2, 2025
@cjdsellers cjdsellers merged commit 53c71a6 into nautechsystems:develop May 2, 2025
16 checks passed
@bartolootrit bartolootrit deleted the empty-trade-tick branch May 20, 2025 07:06
@bartolootrit bartolootrit restored the empty-trade-tick branch May 20, 2025 07:06
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 this pull request may close these issues.

2 participants