-
Notifications
You must be signed in to change notification settings - Fork 572
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
feat: Investment Funds API #528
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parabéns pelo PR, Mestre!
Boa! Aguardando o merge do #530 para realizar o rebase. |
@LorhanSohaky, estou trabalhando em paralelo em um PR para os testes que estão flaky. Conseguimos rodar o pipe de novo? |
Para rodar o pipe
Para rodar o pipe acho que só fazendo um novo commit (nem que seja com uma |
This reverts commit 0d1029e.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Muito obrigado pela contribuição
Kudos, SonarCloud Quality Gate passed!
|
Agora vai 😅 |
Kudos, SonarCloud Quality Gate passed!
|
Atualizando a branch com main... @RodriAndreotti @lucianopf @murilohns |
const parsedData = parseCvmData(fundData, { summary: true }); | ||
|
||
return { | ||
data: parsedData.slice((offset - 1) * pageSize, offset * pageSize), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Será que faz sentido carregarmos todo o dataset para fazermos uma paginação virtual?
|
API Fundos de Investimento
[CVM] Dados Cadastrais
Criação de uma API que busca dados cadastrais de fundos de investimento na CVM, em sua planilha de Dados Cadastrais diários.
Feature
Foram adicionadas duas rotas (seguindo padrão do endpoint de corretoras):
GET cvm/fundos/v1?page=1&size=100
- busca por todos fundos já registrados na CVM - paginação implementada pelo tamanho da planilha.GET cvm/fundos/v1/:cnpj
- Detalhes de dados de um fundo específico.Testes
Foram criados 3 testes e2e para assegurar o funcionamento dos endpoints criados.
Documentação
Documentação também foi atualizada e testada na UI já implementada