Skip to content

Endpoint de cotação atual na B3 tem limite de data #39

@GuilhermeFreire

Description

@GuilhermeFreire

O endpoint https://arquivos.b3.com.br/apinegocios/ticker/[TICKER]/[DATA] não retorna valores pra alguns dados no passado. E.g. https://arquivos.b3.com.br/apinegocios/ticker/ITSA4/2020-05-15

No momento atual (10/06/2020), retorna dados até 28/05/2020.

Isso vai quebrar:

url := fmt.Sprintf("https://arquivos.b3.com.br/apinegocios/ticker/%v/%v", ticker, date)

Talvez devêssemos pegar dados anteriores da rota de dados históricos(?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions