Script para mostrar dados de fundos de investimento.
Project description
fundosbr - Mostra informações sobre fundos de investimentos brasileiros
Script que baixa informações direto do site da CVM e mostra detalhes dos fundos de investimento.
Instalação
pip install fundosbr
Os arquivos csv baixados do site da CVM são armazenados no diretório /tmp/fundosbr_dados. Se quiser alterar, edite o arquivo "fundosbr.py" e modifique a variável "CSV_FILES_DIR".
Ajuda
user@localhost: ~$ fundosbr
usage: fundosbr [-h] [-d] {busca,informe,compara,rank} ...
Informacoes sobre fundos de investimentos
optional arguments:
-h, --help show this help message and exit
-d, --debug debug flag
Comandos:
{busca,informe,compara,rank}
busca Busca fundo
informe Informes fundo
compara Comparas fundos
rank Rank fundos
Example of use:
fundosbr busca -h
fundosbr busca -n verde
fundosbr busca -c 22.187.946/0001-41
fundosbr busca -n "ip participa" -t acoes
fundosbr informe -h
fundosbr informe 73.232.530/0001-39 -datainicio 202011 -datafim 202012
user@localhost: ~$ fundosbr informe -h
usage: fundosbr informe [-h] [-datainicio DATAINICIO] [-datafim DATAFIM] [-m] cnpj
positional arguments:
cnpj CNPJ do fundo
optional arguments:
-h, --help show this help message and exit
-datainicio DATAINICIO
Data inicio (YYYYMM)
-datafim DATAFIM Data fim (YYYYMM)
-m, --mensal Mostra estatistica mensal
user@localhost: ~$ fundosbr compara -h
usage: fundosbr compara [-h] [-datainicio DATAINICIO] [-datafim DATAFIM] [-m] cnpj
positional arguments:
cnpj CNPJ do fundo
optional arguments:
-h, --help show this help message and exit
-datainicio DATAINICIO
Data inicio (YYYYMM)
-datafim DATAFIM Data fim (YYYYMM)
-m, --mensal Mostra estatistica mensal
Exemplo de uso:
Procura um fundo pelo nome:
Mostra os informes de um fundo:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fundosbr-0.1.1.tar.gz.
File metadata
- Download URL: fundosbr-0.1.1.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f845cc62feeaeb3e858ff265978755069183435bdd64d86cad5d3d30db108144
|
|
| MD5 |
6953fc6896cb027f2be6364fc0f46183
|
|
| BLAKE2b-256 |
f1696b7d8b208faa15fa20b09771da967790a284c53e9e638e427cc677229fcd
|
File details
Details for the file fundosbr-0.1.1-py3-none-any.whl.
File metadata
- Download URL: fundosbr-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d1fd83112bedd8f7d7e35d72463d40e5853b97a88da88f89a767b5fd27aa75a
|
|
| MD5 |
59570f6126ec37763688d638b92beed0
|
|
| BLAKE2b-256 |
ddda0ce2fa1f2325e8a86557b0fe4a99ebffc4e4ac064311018578e17bbdae70
|