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

Ticker24hrService bugged #52

Open
the-potato-church opened this issue Nov 30, 2024 · 0 comments
Open

Ticker24hrService bugged #52

the-potato-church opened this issue Nov 30, 2024 · 0 comments

Comments

@the-potato-church
Copy link

When calling NewTicker24hrService().Symbols(symbols).Do(ctx) where symbols represents about 1000 symbols, I get the following error: <APIError> code=0, msg=. I suspect that I might be exceeding some undocumented limit on the amount of symbols that the API can process, but the erorr is rather unhelpful.

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.

I appreciate any help/fix. Thanks!

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