Skip to content

Ticker24hrService bugged #52

@the-potato-church

Description

@the-potato-church

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions