Skip to content

Conversation

@San-B-09
Copy link

@San-B-09 San-B-09 commented Sep 6, 2025

Fix bug ticker 24hr response struct: ISSUE-52

When calling NewTicker24hrService().Do(ctx) to fetch all symbol info in order to bypass any possible limits I get the following error:
json: cannot unmarshal number -1 into Go struct field Ticker24hrResponse.firstId of type uint64. I suspect this comes from trying to process a symbol which has no trades yet - and the firstId being uninitiliased.

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.

1 participant